[][src]Struct reax::computed::MutatorMapped

pub struct MutatorMapped<V, T, F> { /* fields omitted */ }

A computed T which is initalized to some default and then mutated by some function F which also takes the value of V.

Created by the Variable::map_mutate method.

Trait Implementations

impl<V, T, F> ComputedValue for MutatorMapped<V, T, F> where
    V: Variable,
    F: FnMut(&V::Value, &mut T), 
[src]

type Value = T

The value visible within the ComputedVar.

type Context = ()

The context used by the update function.

Auto Trait Implementations

impl<V, T, F> RefUnwindSafe for MutatorMapped<V, T, F> where
    F: RefUnwindSafe,
    T: RefUnwindSafe,
    V: RefUnwindSafe

impl<V, T, F> Send for MutatorMapped<V, T, F> where
    F: Send,
    T: Send,
    V: Send

impl<V, T, F> Sync for MutatorMapped<V, T, F> where
    F: Sync,
    T: Sync,
    V: Sync

impl<V, T, F> Unpin for MutatorMapped<V, T, F> where
    F: Unpin,
    T: Unpin,
    V: Unpin

impl<V, T, F> UnwindSafe for MutatorMapped<V, T, F> where
    F: UnwindSafe,
    T: UnwindSafe,
    V: UnwindSafe

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.