W3cubDocs

/Rust

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 Clone for PhantomPinned[src]

impl Copy for PhantomPinned[src]

impl Debug for PhantomPinned[src]

impl Eq for PhantomPinned[src]

impl Hash for PhantomPinned[src]

impl Ord for PhantomPinned[src]

impl PartialEq<PhantomPinned> for PhantomPinned[src]

impl PartialOrd<PhantomPinned> for PhantomPinned[src]

impl StructuralEq for PhantomPinned[src]

impl StructuralPartialEq for PhantomPinned[src]

impl !Unpin for PhantomPinned[src]

Auto Trait Implementations

Blanket Implementations

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

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

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

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

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

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

type Owned = T

The resulting type after obtaining ownership.

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> 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.

© 2010 The Rust Project Developers
Licensed under the Apache License, Version 2.0 or the MIT license, at your option.
https://doc.rust-lang.org/std/marker/struct.PhantomPinned.html