Skip to main content

Module utils

Module utils 

Source
Expand description

Some helper functions.

Structs§

RunOnDrop
A wrapper type to run a closure(F type parameter) with a value(T type parameter).

Traits§

DerefNested
For dereferencing tuples of pointers into tuples of mutable references.

Functions§

as_phantomdata
Gets a PhantomData<T>.
take_manuallydrop
Takes the contents out of a ManuallyDrop<T>.

Type Aliases§

DerefNestedOut
The return type of the DerefNested::deref_nested method for This