Struct std::marker::PhantomPinned 1.33.0[−][src]
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 Clone for PhantomPinned
[src]pub fn clone(&self) -> PhantomPinned
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Default for PhantomPinned
[src]
impl Default for PhantomPinned
[src]pub fn default() -> PhantomPinned
[src]
impl Hash for PhantomPinned
[src]
impl Hash for PhantomPinned
[src]impl Ord for PhantomPinned
[src]
impl Ord for PhantomPinned
[src]impl PartialEq<PhantomPinned> for PhantomPinned
[src]
impl PartialEq<PhantomPinned> for PhantomPinned
[src]impl PartialOrd<PhantomPinned> for PhantomPinned
[src]
impl PartialOrd<PhantomPinned> for PhantomPinned
[src]pub fn partial_cmp(&self, other: &PhantomPinned) -> Option<Ordering>
[src]
#[must_use]pub fn lt(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]
pub fn lt(&self, other: &Rhs) -> bool#[must_use]pub fn le(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]
pub fn le(&self, other: &Rhs) -> bool#[must_use]pub fn gt(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]
pub fn gt(&self, other: &Rhs) -> bool#[must_use]pub fn ge(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]
pub fn ge(&self, other: &Rhs) -> boolimpl Copy for PhantomPinned
[src]
impl Eq for PhantomPinned
[src]
impl StructuralEq for PhantomPinned
[src]
impl StructuralPartialEq for PhantomPinned
[src]
impl !Unpin for PhantomPinned
[src]
Auto Trait Implementations
impl RefUnwindSafe for PhantomPinned
impl Send for PhantomPinned
impl Sync for PhantomPinned
impl UnwindSafe for PhantomPinned
Blanket Implementations
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
impl<T> Borrow<T> for T where
T: ?Sized,
[src]pub fn borrow(&self) -> &TⓘNotable traits for &'_ mut I
impl<'_, I> Iterator for &'_ mut I where
I: Iterator + ?Sized, type Item = <I as Iterator>::Item;impl<'_, F> Future for &'_ mut F where
F: Future + Unpin + ?Sized, type Output = <F as Future>::Output;impl<R: Read + ?Sized> Read for &mut Rimpl<W: Write + ?Sized> Write for &mut W
[src]
Notable traits for &'_ mut I
impl<'_, I> Iterator for &'_ mut I where
I: Iterator + ?Sized, type Item = <I as Iterator>::Item;impl<'_, F> Future for &'_ mut F where
F: Future + Unpin + ?Sized, type Output = <F as Future>::Output;impl<R: Read + ?Sized> Read for &mut Rimpl<W: Write + ?Sized> Write for &mut W
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]pub fn borrow_mut(&mut self) -> &mut TⓘNotable traits for &'_ mut I
impl<'_, I> Iterator for &'_ mut I where
I: Iterator + ?Sized, type Item = <I as Iterator>::Item;impl<'_, F> Future for &'_ mut F where
F: Future + Unpin + ?Sized, type Output = <F as Future>::Output;impl<R: Read + ?Sized> Read for &mut Rimpl<W: Write + ?Sized> Write for &mut W
[src]
Notable traits for &'_ mut I
impl<'_, I> Iterator for &'_ mut I where
I: Iterator + ?Sized, type Item = <I as Iterator>::Item;impl<'_, F> Future for &'_ mut F where
F: Future + Unpin + ?Sized, type Output = <F as Future>::Output;impl<R: Read + ?Sized> Read for &mut Rimpl<W: Write + ?Sized> Write for &mut W