[][src]Trait swim_mem::alloc::StowInto

pub trait StowInto<'b, T>: Sized {
    fn try_stow_into(self, hold: &dyn Hold<'b>) -> Result<T, (Self, HoldError)>;

    fn stow_into(self, hold: &dyn Hold<'b>) -> T { ... }
}

Conversion from Self into a value, allocating in a Hold as needed.

Required methods

fn try_stow_into(self, hold: &dyn Hold<'b>) -> Result<T, (Self, HoldError)>

Converts Self into a value, allocating in hold as needed.

Loading content...

Provided methods

fn stow_into(self, hold: &dyn Hold<'b>) -> T

Loading content...

Implementors

impl<'b, S, T: StowFrom<'b, S>> StowInto<'b, T> for S[src]

fn stow_into(self, hold: &dyn Hold<'b>) -> T[src]

Loading content...