[][src]Struct seed_bootstrap::navbar::NavBar

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

Implementations

impl<Ms> NavBar<Ms>[src]

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

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

pub fn update_brand(
    mut self: Self,
    f: impl FnOnce(Brand<Ms>) -> Brand<Ms>
) -> Self
[src]

pub fn content(mut self: Self, content: impl IntoNodes<Ms>) -> Self[src]

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

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

pub fn update_toggle(
    mut self: Self,
    f: impl FnOnce(Button<Ms>) -> Button<Ms>
) -> Self
[src]

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

pub fn view_collapsable(
    self,
    expanded: bool,
    content_id: impl Into<Cow<'static, str>>
) -> Node<Ms>
[src]

Auto Trait Implementations

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

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

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

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

impl<Ms> !UnwindSafe for NavBar<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>,