[][src]Module user_stable_vtable::refs

Reference types, which are safe to use

Structs

StableMut

A type-erased pointer with stable layout to a trait object This pointer has the same layout as &dyn Trait for #[stable_vtable] traits as with [RFC 2955]. Note: While &mut 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.

StableRef

A type-erased pointer with stable layout to a trait object This pointer has the same layout as &dyn Trait for #[stable_vtable] traits as with [RFC 2955]. Note: While &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.