Struct refmove::anchor::StackAnchor[][src]

pub struct StackAnchor<T> { /* fields omitted */ }

Anchor to obtain by-move reference to the stack.

The structure is similar to Option<T> but avoids some unwanted optimizations for this purpose.

Trait Implementations

impl<T> Anchor<T, T> for StackAnchor<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

impl<T> Drop for StackAnchor<T>
[src]

Executes the destructor for this type. Read more

impl<T: Debug> Debug for StackAnchor<T>
[src]

Formats the value using the given formatter. Read more

Auto Trait Implementations

impl<T> Send for StackAnchor<T> where
    T: Send

impl<T> Sync for StackAnchor<T> where
    T: Sync