[][src]Struct mtots::Stash

pub struct Stash { /* fields omitted */ }

Implementations

impl Stash[src]

pub fn has<T>(&self) -> bool where
    T: Any
[src]

pub fn set<T>(&mut self, t: T) -> Result<(), Error> where
    T: Any
[src]

pub fn get<T>(&self) -> Result<Ref<'_, T>, Error> where
    T: Any
[src]

pub fn get_mut<T>(&self) -> Result<RefMut<'_, T>, Error> where
    T: Any
[src]

pub fn get_rc<T>(&self) -> Result<Rc<RefCell<T>>, Error> where
    T: Any
[src]

pub fn remove_rc<T>(&mut self) -> Rc<RefCell<T>> where
    T: Any
[src]

pub fn remove<T>(&mut self) -> T where
    T: Any
[src]

Trait Implementations

impl Default for Stash[src]

Auto Trait Implementations

impl !RefUnwindSafe for Stash

impl !Send for Stash

impl !Sync for Stash

impl Unpin for Stash

impl !UnwindSafe for Stash

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> Same<T> for T

type Output = T

Should always be Self

impl<T> SetParameter for T

impl<SS, SP> SupersetOf<SS> for SP where
    SS: SubsetOf<SP>, 

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,