[−][src]Struct reactive_state::provider::MapStateToProps
This is supported on
feature="yew" only.Implementations
impl<C, State> MapStateToProps<C, State> where
C: Component, [src]
C: Component,
pub fn new(
function: fn(_: &Rc<State>, _: &C::Properties) -> Option<C::Properties>
) -> Self[src]
function: fn(_: &Rc<State>, _: &C::Properties) -> Option<C::Properties>
) -> Self
This is supported on
feature="yew" only.pub fn perform(
&self,
state: &Rc<State>,
props: &C::Properties
) -> Option<C::Properties>[src]
&self,
state: &Rc<State>,
props: &C::Properties
) -> Option<C::Properties>
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]
C::Properties: Clone,
C::Properties: Clone,
fn clone(&self) -> MapStateToProps<C, State>[src]
fn clone_from(&mut self, source: &Self)1.0.0[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]
C: Component,
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]
T: 'static + ?Sized,
impl<T> Any for T where
T: Any,
T: Any,
impl<T> Borrow<T> for T where
T: ?Sized, [src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T[src]
impl<T> CloneAny for T where
T: Clone + Any,
T: Clone + Any,
impl<T> From<T> for T[src]
impl<T, U> Into<U> for T where
U: From<T>, [src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone, [src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T[src]
fn clone_into(&self, target: &mut T)[src]
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.
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>,