Struct core::marker::PhantomPinned
1.33.0· source · [−]pub struct PhantomPinned;
Expand description
A marker type which does not implement Unpin
.
If a type contains a PhantomPinned
, it will not implement Unpin
by default.
Trait Implementations
Returns the “default value” for a type. Read more
This method returns an ordering between self
and other
values if one exists. Read more
This method tests less than (for self
and other
) and is used by the <
operator. Read more
This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more
This method tests greater than (for self
and other
) and is used by the >
operator. Read more