[−][src]Struct uptown_funk::StateWrapper
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]
E: Send,
S: Send,
impl<S, E> !Sync for StateWrapper<S, E>
[src]
impl<S, E> Unpin for StateWrapper<S, E> where
E: Unpin,
S: Unpin,
[src]
E: Unpin,
S: Unpin,
impl<S, E> UnwindSafe for StateWrapper<S, E> where
E: UnwindSafe,
S: UnwindSafe,
[src]
E: UnwindSafe,
S: UnwindSafe,
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,