[][src]Struct ybc::NavbarProps

pub struct NavbarProps {
    pub children: Children,
    pub classes: Option<String>,
    pub fixed: Option<NavbarFixed>,
    pub transparent: bool,
    pub spaced: bool,
    pub padded: bool,
    pub navbrand: Html,
    pub navstart: Html,
    pub navend: Html,
}

Fields

children: Childrenclasses: Option<String>fixed: Option<NavbarFixed>

Make the navbar fixed to the top or bottom of the UI.

transparent: bool

Seamlessly integrate the navbar in any visual context.

https://bulma.io/documentation/components/navbar/#transparent-navbar

spaced: bool

Sets top and bottom paddings with 1rem, left and right paddings with 2rem.

https://bulma.io/documentation/components/navbar/#navbar-helper-classes

padded: bool

The contents of the navbar brand. The navbar-burger is automatically appended to the end of this content.

https://bulma.io/documentation/components/navbar/#navbar-brand If true, the contents of the navbar will be wrapped in a container.

navbrand: Htmlnavstart: Html

The contents of the navbar-start section of the navbar.

navend: Html

The contents of the navbar-end section of the navbar.

Trait Implementations

impl Clone for NavbarProps[src]

impl Debug for NavbarProps[src]

impl PartialEq<NavbarProps> for NavbarProps[src]

impl Properties for NavbarProps[src]

type Builder = NavbarPropsBuilder<NavbarPropsBuilderStep_missing_required_prop_navbrand>

Builder that will be used to construct properties

impl StructuralPartialEq for NavbarProps[src]

Auto Trait Implementations

Blanket Implementations

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

impl<T> Any for T where
    T: Any

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

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

impl<T> CloneAny for T where
    T: Clone + Any

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

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

impl<T, U> NeqAssign<U> for T where
    T: BorrowMut<U>,
    U: PartialEq<U>, 
[src]

impl<T, U> NeqAssignBy<U> for T where
    T: BorrowMut<U>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

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.