Struct core::marker::PhantomPinned 1.33.0[−][src]
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
impl Clone for PhantomPinned[src]
impl Clone for PhantomPinned[src]fn clone(&self) -> PhantomPinned[src]
fn clone(&self) -> PhantomPinned[src]Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0[src]
fn clone_from(&mut self, source: &Self)1.0.0[src]Performs copy-assignment from source. Read more
impl Debug for PhantomPinned[src]
impl Debug for PhantomPinned[src]impl Default for PhantomPinned[src]
impl Default for PhantomPinned[src]fn default() -> PhantomPinned[src]
fn default() -> PhantomPinned[src]Returns the “default value” for a type. Read more
impl Hash for PhantomPinned[src]
impl Hash for PhantomPinned[src]impl Ord for PhantomPinned[src]
impl Ord for PhantomPinned[src]fn cmp(&self, other: &PhantomPinned) -> Ordering[src]
fn cmp(&self, other: &PhantomPinned) -> Ordering[src]#[must_use]fn max(self, other: Self) -> Self where
Self: Sized, 1.21.0[src]
#[must_use]fn max(self, other: Self) -> Self where
Self: Sized, 1.21.0[src]Compares and returns the maximum of two values. Read more
impl PartialEq<PhantomPinned> for PhantomPinned[src]
impl PartialEq<PhantomPinned> for PhantomPinned[src]impl PartialOrd<PhantomPinned> for PhantomPinned[src]
impl PartialOrd<PhantomPinned> for PhantomPinned[src]fn partial_cmp(&self, other: &PhantomPinned) -> Option<Ordering>[src]
fn partial_cmp(&self, other: &PhantomPinned) -> Option<Ordering>[src]This method returns an ordering between self and other values if one exists. Read more
#[must_use]fn lt(&self, other: &Rhs) -> bool1.0.0[src]
#[must_use]fn lt(&self, other: &Rhs) -> bool1.0.0[src]This method tests less than (for self and other) and is used by the < operator. Read more
#[must_use]fn le(&self, other: &Rhs) -> bool1.0.0[src]
#[must_use]fn le(&self, other: &Rhs) -> bool1.0.0[src]This method tests less than or equal to (for self and other) and is used by the <=
operator. Read more