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]
impl<'a, T: Debug + ?Sized + 'a> Debug for IdentityAnchor<'a, T>
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl<'a, T: ?Sized + 'a> Anchor<RefMove<'a, T>, T> for IdentityAnchor<'a, T>
[src]
impl<'a, T: ?Sized + 'a> Anchor<RefMove<'a, T>, T> for IdentityAnchor<'a, T>
fn anchor_from(content: RefMove<'a, T>) -> Self
[src]
fn anchor_from(content: RefMove<'a, T>) -> Self
Wraps the ownership by this anchor.
ⓘImportant traits for RefMove<'a, I>fn borrow_move<'b>(&'b mut self) -> RefMove<'b, T>
[src]
ⓘImportant traits for RefMove<'a, I>
fn borrow_move<'b>(&'b mut self) -> RefMove<'b, T>
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> Send for IdentityAnchor<'a, T> where
T: Send,
impl<'a, T: ?Sized> Sync for IdentityAnchor<'a, T> where
T: Sync,
impl<'a, T: ?Sized> Sync for IdentityAnchor<'a, T> where
T: Sync,