Trait kernel::list::HasSelfPtr
source · 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>
.
Object Safety§
This trait is not object safe.