pub unsafe trait HasSelfPtr<T: ?Sized, const ID: u64 = 0>where
Self: HasListLinks<ID>,{ }Expand description
Declares that the ListLinks<ID> field in this struct is inside a ListLinksSelfPtr<T, ID>.
§Safety
The ListLinks<ID> field of this struct at the offset HasListLinks<ID>::OFFSET must be
inside a ListLinksSelfPtr<T, ID>.
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.