Skip to main content

Module types

Module types 

Source
Expand description

Kernel types.

Macros§

ForLt
Obtain a type that implements ForLt for the given higher-ranked type.

Structs§

Opaque
Stores an opaque value.
ScopeGuard
Runs a cleanup function/closure when dropped.

Constants§

NotThreadSafe
Used to construct instances of type NotThreadSafe similar to how PhantomData is constructed.

Traits§

ForLt
Representation of types generic over a lifetime.
ForeignOwnable
Used to transfer ownership to and from foreign (non-Rust) languages.

Type Aliases§

NotThreadSafe
Zero-sized type to mark types not Send.