[][src]Struct ybc::NavbarItemProps

pub struct NavbarItemProps {
    pub children: Children,
    pub classes: Option<String>,
    pub tag: NavbarItemTag,
    pub has_dropdown: bool,
    pub expanded: bool,
    pub tab: bool,
    pub active: bool,
    pub href: Option<String>,
    pub rel: Option<String>,
    pub target: Option<String>,


children: Childrenclasses: Option<String>tag: NavbarItemTag

The HTML tag to use for this component.

has_dropdown: bool

Add the has-dropdown class to this element, indicating that it is the parent of a dropdown menu.

expanded: bool

Turn this into a full-width element.

tab: bool

Add a bottom border on hover, and show the bottom border using is_active=true.

active: bool

Show the bottom border when is_tab=true.

href: Option<String>

An optional href for when this element is using the a tag.

rel: Option<String>

An optional rel for when this element is using the a tag.

target: Option<String>

An optional target for when this element is using the a tag.

Trait Implementations

impl Clone for NavbarItemProps[src]

impl Debug for NavbarItemProps[src]

impl PartialEq<NavbarItemProps> for NavbarItemProps[src]

impl Properties for NavbarItemProps[src]

type Builder = NavbarItemPropsBuilder<NavbarItemPropsBuilderStep_build>

Builder that will be used to construct properties

impl StructuralPartialEq for NavbarItemProps[src]

Auto Trait Implementations

Blanket Implementations

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

impl<T> Any for T where
    T: Any

impl<T> Borrow<T> for T where
    T: ?Sized

impl<T> BorrowMut<T> for T where
    T: ?Sized

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>, 

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

impl<T, U> NeqAssignBy<U> for T where
    T: BorrowMut<U>, 

impl<T> ToOwned for T where
    T: Clone

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.