Struct ybc::NavbarDropdownProps
source · pub struct NavbarDropdownProps {
pub children: Children,
pub classes: Classes,
pub navlink: Html,
pub hoverable: bool,
pub dropup: bool,
pub right: bool,
pub arrowless: bool,
pub boxed: bool,
}
Fields§
§children: Children
The content of the dropdown; these should all be NavbarItems
& NavbarDividers
.
classes: Classes
The contents of the navbar-link used for triggering the dropdown menu.
hoverable: bool
Make this dropdown triggerable based on hover.
dropup: bool
Configure this manu to be a dropup.
right: bool
Render the contents of this dropdown to the right.
arrowless: bool
Remove the arrow from the dropdown menu trigger.
boxed: bool
Use the boxed style for the dropdown, typically coupled with a transparent navbar.
Trait Implementations§
source§fn clone(&self) -> NavbarDropdownProps
fn clone(&self) -> NavbarDropdownProps
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§fn eq(&self, other: &NavbarDropdownProps) -> bool
fn eq(&self, other: &NavbarDropdownProps) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.Auto Trait Implementations§
Blanket Implementations§
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§fn into_prop_value(self) -> Option<T>
fn into_prop_value(self) -> Option<T>
Convert
self
to a value of a Properties
struct.source§fn into_prop_value(self) -> T
fn into_prop_value(self) -> T
Convert
self
to a value of a Properties
struct.