[][src]Module user_stable_vtable::ptr

Raw pointer tyes, such as StablePtr and StableNonNull

Structs

StableNonNull

A type-erased pointer with stable layout to a trait object This pointer has the same layout as NonNull<dyn Trait> for #[stable_vtable] traits as with [RFC 2955]. Note: While NonNull<T> has special handling when inside Option<T>, no such guarantee is stably made. There are test suites that check to ensure this is correct.

StablePtr

A type-erased pointer with stable layout to a trait object This pointer has the same layout as *mut dyn Trait for #[stable_vtable] traits as with [RFC 2955]