[][src]Struct uptown_funk::StateWrapper

pub struct StateWrapper<S, E: Executor> { /* fields omitted */ }

Implementations

impl<S, E: Executor> StateWrapper<S, E>[src]

pub fn new(state: S, executor: E) -> Self[src]

pub fn borrow_state(&self) -> Ref<'_, S>[src]

pub fn borrow_state_mut(&self) -> RefMut<'_, S>[src]

pub fn executor(&self) -> &E[src]

pub fn memory(&self) -> Memory[src]

Auto Trait Implementations

impl<S, E> !RefUnwindSafe for StateWrapper<S, E>[src]

impl<S, E> Send for StateWrapper<S, E> where
    E: Send,
    S: Send
[src]

impl<S, E> !Sync for StateWrapper<S, E>[src]

impl<S, E> Unpin for StateWrapper<S, E> where
    E: Unpin,
    S: Unpin
[src]

impl<S, E> UnwindSafe for StateWrapper<S, E> where
    E: UnwindSafe,
    S: UnwindSafe
[src]

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, 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.