[][src]Struct seed_bootstrap::navbar::NavLink

pub struct NavLink<Ms: 'static> { /* fields omitted */ }

Implementations

impl<Ms> NavLink<Ms>[src]

pub fn new(
    title: impl Into<Cow<'static, str>>,
    link: impl Into<Cow<'static, str>>
) -> Self
[src]

pub fn active(mut self: Self, active: bool) -> Self[src]

pub fn disabled(mut self: Self, disabled: bool) -> Self[src]

pub fn icon(mut self: Self, icon: Node<Ms>) -> Self[src]

pub fn add_attrs(mut self: Self, attrs: Attrs) -> Self[src]

pub fn add_inner_attrs(mut self: Self, attrs: Attrs) -> Self[src]

pub fn add_style(mut self: Self, style: Style) -> Self[src]

pub fn add_on_click(
    mut self: Self,
    on_click: impl FnOnce(MouseEvent) -> Ms + Clone + 'static
) -> Self
[src]

pub fn view(self) -> Node<Ms>[src]

Trait Implementations

impl<Ms> UpdateEl<Ms> for NavLink<Ms>[src]

Auto Trait Implementations

impl<Ms> !RefUnwindSafe for NavLink<Ms>[src]

impl<Ms> !Send for NavLink<Ms>[src]

impl<Ms> !Sync for NavLink<Ms>[src]

impl<Ms> Unpin for NavLink<Ms>[src]

impl<Ms> !UnwindSafe for NavLink<Ms>[src]

Blanket Implementations

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

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

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

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

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

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.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,