Struct refmove::anchor::IdentityAnchor[][src]

pub struct IdentityAnchor<'a, T: ?Sized + 'a> { /* fields omitted */ }

Trivial anchor that just returns the given RefMove.

Trait Implementations

impl<'a, T: Debug + ?Sized + 'a> Debug for IdentityAnchor<'a, T>
[src]

Formats the value using the given formatter. Read more

impl<'a, T: ?Sized + 'a> Anchor<RefMove<'a, T>, T> for IdentityAnchor<'a, T>
[src]

Wraps the ownership by this anchor.

Important traits for RefMove<'a, I>

Turns a mutable reference to this anchor into a by-move reference to its content. Read more

Auto Trait Implementations

impl<'a, T: ?Sized> Send for IdentityAnchor<'a, T> where
    T: Send

impl<'a, T: ?Sized> Sync for IdentityAnchor<'a, T> where
    T: Sync