1.33.0[][src]Struct std::marker::PhantomPinned

pub struct PhantomPinned;

A marker type which does not implement Unpin.

If a type contains a PhantomPinned, it will not implement Unpin by default.

Trait Implementations

impl Debug for PhantomPinned[src]

impl Hash for PhantomPinned[src]

impl Eq for PhantomPinned[src]

impl Clone for PhantomPinned[src]

impl PartialEq<PhantomPinned> for PhantomPinned[src]

impl PartialOrd<PhantomPinned> for PhantomPinned[src]

impl !Unpin for PhantomPinned[src]

impl Ord for PhantomPinned[src]

impl Copy for PhantomPinned[src]

Auto Trait Implementations

impl UnwindSafe for PhantomPinned

impl RefUnwindSafe for PhantomPinned

impl Send for PhantomPinned

impl Sync for PhantomPinned

Blanket Implementations

impl<T> From<T> for T[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.