Struct yew_nested_router::prelude::ScopeProps
source · pub struct ScopeProps<P, C>where
P: Target,
C: Target,{
pub mapper: Callback<(), Mapper<P, C>>,
pub children: Children,
}Fields§
§mapper: Callback<(), Mapper<P, C>>§children: ChildrenTrait Implementations§
source§impl<P, C> Clone for ScopeProps<P, C>where
P: Target + Clone,
C: Target + Clone,
impl<P, C> Clone for ScopeProps<P, C>where P: Target + Clone, C: Target + Clone,
source§fn clone(&self) -> ScopeProps<P, C>
fn clone(&self) -> ScopeProps<P, C>
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresource§impl<P, C> PartialEq<ScopeProps<P, C>> for ScopeProps<P, C>where
P: Target + PartialEq,
C: Target + PartialEq,
impl<P, C> PartialEq<ScopeProps<P, C>> for ScopeProps<P, C>where P: Target + PartialEq, C: Target + PartialEq,
source§fn eq(&self, other: &ScopeProps<P, C>) -> bool
fn eq(&self, other: &ScopeProps<P, C>) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl<P, C> Properties for ScopeProps<P, C>where
P: Target,
C: Target,
impl<P, C> Properties for ScopeProps<P, C>where P: Target, C: Target,
impl<P, C> StructuralPartialEq for ScopeProps<P, C>where P: Target, C: Target,
Auto Trait Implementations§
impl<P, C> !RefUnwindSafe for ScopeProps<P, C>
impl<P, C> !Send for ScopeProps<P, C>
impl<P, C> !Sync for ScopeProps<P, C>
impl<P, C> Unpin for ScopeProps<P, C>
impl<P, C> !UnwindSafe for ScopeProps<P, C>
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoPropValue<Option<T>> for T
impl<T> IntoPropValue<Option<T>> for T
source§fn into_prop_value(self) -> Option<T>
fn into_prop_value(self) -> Option<T>
Convert
self to a value of a Properties struct.source§impl<T> IntoPropValue<T> for T
impl<T> IntoPropValue<T> for T
source§fn into_prop_value(self) -> T
fn into_prop_value(self) -> T
Convert
self to a value of a Properties struct.