pub unsafe trait StaticType {
type Ref: ?Sized;
// Required method
fn ref_ptr(&self) -> *const Self::Ref;
}
Expand description
A value that is fixed in memory.
If you implement this you need to guarantee that Self and Ref does not move in memory
Most probably it should be allocated on the heap