Module utils

Source
Expand description

Miscelaneous functions.

Structs§

MakePhantomData
Helper type to construct certain PhantomData in const fns.

Traits§

PointerTarget
Gets the type pointed-to by a pointer.

Functions§

moved
A helper function to force a variable to move (copy if it’s a Copy type).