[−][src]Module abi_stable::pointer_trait
Traits for pointers.
Structs
ImmutableRefTarget | A marker type that can be used as a proof that the |
PK_MutReference | The type-level equivalent of |
PK_Reference | The type-level equivalent of |
PK_SmartPointer | The type-level equivalent of |
Enums
CallReferentDrop | Determines whether the referent of a pointer is dropped when the pointer deallocates the memory. |
Deallocate | Determines whether the pointer is deallocated. |
PointerKind | Describes the kind of a pointer. |
Traits
CanTransmuteElement | Whether the pointer can be transmuted to have |
GetPointerKind | What kind of pointer this is. |
ImmutableRef | Trait for non-owning pointers that are shared-reference-like. |
OwnedPointer | For owned pointers,allows extracting their contents separate from deallocating them. |
PointerKindVariant | A type-level equivalent of a PointerKind variant. |
TransmuteElement | Allows transmuting pointers to point to a different type. |
Type Definitions
ImmutableRefOut | Gets the |