[][src]Struct reactive_state::provider::MapStateToProps

pub struct MapStateToProps<C: Component, State>(_);
This is supported on feature="yew" only.

Implementations

impl<C, State> MapStateToProps<C, State> where
    C: Component, 
[src]

pub fn new(
    function: fn(_: &Rc<State>, _: &C::Properties) -> Option<C::Properties>
) -> Self
[src]

This is supported on feature="yew" only.

pub fn perform(
    &self,
    state: &Rc<State>,
    props: &C::Properties
) -> Option<C::Properties>
[src]

This is supported on feature="yew" only.

Trait Implementations

impl<C: Clone + Component, State: Clone> Clone for MapStateToProps<C, State> where
    C::Properties: Clone,
    C::Properties: Clone
[src]

impl<C: Component, State> Debug for MapStateToProps<C, State>[src]

impl<C, State> PartialEq<MapStateToProps<C, State>> for MapStateToProps<C, State> where
    C: Component, 
[src]

Auto Trait Implementations

impl<C, State> RefUnwindSafe for MapStateToProps<C, State>

impl<C, State> Send for MapStateToProps<C, State>

impl<C, State> Sync for MapStateToProps<C, State>

impl<C, State> Unpin for MapStateToProps<C, State>

impl<C, State> UnwindSafe for MapStateToProps<C, State>

Blanket Implementations

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

impl<T> Any for T where
    T: Any

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

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

impl<T> CloneAny for T where
    T: Clone + Any

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

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

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

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.