Struct patternfly_yew::NavRouterItem [−][src]
pub struct NavRouterItem<SWITCH> where
SWITCH: Switch + Clone + PartialEq + Debug + 'static, { /* fields omitted */ }
A navigation item, using the Router.
Trait Implementations
impl<SWITCH> Component for NavRouterItem<SWITCH> where
SWITCH: Switch + Clone + PartialEq + Debug + 'static,
[src]
impl<SWITCH> Component for NavRouterItem<SWITCH> where
SWITCH: Switch + Clone + PartialEq + Debug + 'static,
[src]type Message = NavRouterMsg<SWITCH>
Messages are used to make Components dynamic and interactive. Simple
Component’s can declare their Message type to be ()
. Complex Component’s
commonly use an enum to declare multiple Message types. Read more
type Properties = NavRouterItemProps<SWITCH>
Properties are the inputs to a Component and should not mutated within a Component. They are passed to a Component using a JSX-style syntax. Read more
fn create(props: Self::Properties, link: ComponentLink<Self>) -> Self
[src]
fn update(&mut self, msg: Self::Message) -> ShouldRender
[src]
fn change(&mut self, props: Self::Properties) -> ShouldRender
[src]
fn view(&self) -> Html
[src]
pub fn rendered(&mut self, _first_render: bool)
[src]
pub fn destroy(&mut self)
[src]
Auto Trait Implementations
impl<SWITCH> !RefUnwindSafe for NavRouterItem<SWITCH>
impl<SWITCH> !RefUnwindSafe for NavRouterItem<SWITCH>
impl<SWITCH> !Send for NavRouterItem<SWITCH>
impl<SWITCH> !Send for NavRouterItem<SWITCH>
impl<SWITCH> !Sync for NavRouterItem<SWITCH>
impl<SWITCH> !Sync for NavRouterItem<SWITCH>
impl<SWITCH> Unpin for NavRouterItem<SWITCH> where
SWITCH: Unpin,
impl<SWITCH> Unpin for NavRouterItem<SWITCH> where
SWITCH: Unpin,
impl<SWITCH> !UnwindSafe for NavRouterItem<SWITCH>
impl<SWITCH> !UnwindSafe for NavRouterItem<SWITCH>