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]
impl<T> Anchor<T, T> for StackAnchor<T>
fn anchor_from(content: T) -> Self
[src]
fn anchor_from(content: T) -> Self
Wraps the ownership by this anchor.
ⓘImportant traits for RefMove<'a, I>fn borrow_move<'a>(&'a mut self) -> RefMove<'a, T>
[src]
ⓘImportant traits for RefMove<'a, I>
fn borrow_move<'a>(&'a mut self) -> RefMove<'a, T>
Turns a mutable reference to this anchor into a by-move reference to its content. Read more
impl<T> Drop for StackAnchor<T>
[src]
impl<T> Drop for StackAnchor<T>
impl<T: Debug> Debug for StackAnchor<T>
[src]
impl<T: Debug> Debug for StackAnchor<T>
Auto Trait Implementations
impl<T> Send for StackAnchor<T> where
T: Send,
impl<T> Send for StackAnchor<T> where
T: Send,
impl<T> Sync for StackAnchor<T> where
T: Sync,
impl<T> Sync for StackAnchor<T> where
T: Sync,