[−][src]Struct ybc::NavbarItemProps
Fields
children: Children
classes: 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]
fn clone(&self) -> NavbarItemProps
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Debug for NavbarItemProps
[src]
impl PartialEq<NavbarItemProps> for NavbarItemProps
[src]
fn eq(&self, other: &NavbarItemProps) -> bool
[src]
fn ne(&self, other: &NavbarItemProps) -> bool
[src]
impl Properties for NavbarItemProps
[src]
type Builder = NavbarItemPropsBuilder<NavbarItemPropsBuilderStep_build>
Builder that will be used to construct properties
fn builder() -> Self::Builder
[src]
impl StructuralPartialEq for NavbarItemProps
[src]
Auto Trait Implementations
impl !RefUnwindSafe for NavbarItemProps
impl !Send for NavbarItemProps
impl !Sync for NavbarItemProps
impl Unpin for NavbarItemProps
impl !UnwindSafe for NavbarItemProps
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Any for T where
T: Any,
T: Any,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> CloneAny for T where
T: Clone + Any,
T: Clone + Any,
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> NeqAssign<U> for T where
T: BorrowMut<U>,
U: PartialEq<U>,
[src]
T: BorrowMut<U>,
U: PartialEq<U>,
pub fn neq_assign(&mut self, new: U) -> bool
[src]
impl<T, U> NeqAssignBy<U> for T where
T: BorrowMut<U>,
[src]
T: BorrowMut<U>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,