[−][src]Trait abi_stable::pointer_trait::StableDeref
Trait for pointers that:
-
Point to a single location in memory,even after being moved.
-
Deref::deref always returns the same address (for the same pointer).
-
If it implements DerefMut,it always returns the same memory address.
Explicit non-guarantees:
- If the pointer is converted by value to another pointer type, the address cannot be relied on being the same, even if it implements StableDeref.