Struct patternfly_yew::NavRouterItemProps [−][src]
pub struct NavRouterItemProps<SWITCH> where
SWITCH: Switch + Clone + PartialEq + Debug + 'static, {
pub children: Children,
pub to: SWITCH,
pub active: bool,
pub on_active: Callback<bool>,
}Fields
children: Childrento: SWITCHactive: boolon_active: Callback<bool>Trait Implementations
Performs the conversion.
This method tests for self and other values to be equal, and is used
by ==. Read more
This method tests for !=.
impl<SWITCH> Properties for NavRouterItemProps<SWITCH> where
SWITCH: Switch + Clone + PartialEq + Debug + 'static,
impl<SWITCH> Properties for NavRouterItemProps<SWITCH> where
SWITCH: Switch + Clone + PartialEq + Debug + 'static,
impl<SWITCH> StructuralPartialEq for NavRouterItemProps<SWITCH> where
SWITCH: Switch + Clone + PartialEq + Debug + 'static,
Auto Trait Implementations
impl<SWITCH> !RefUnwindSafe for NavRouterItemProps<SWITCH>
impl<SWITCH> !Send for NavRouterItemProps<SWITCH>
impl<SWITCH> !Sync for NavRouterItemProps<SWITCH>
impl<SWITCH> Unpin for NavRouterItemProps<SWITCH> where
SWITCH: Unpin,
impl<SWITCH> !UnwindSafe for NavRouterItemProps<SWITCH>
Blanket Implementations
Mutably borrows from an owned value. Read more