Struct ybc::NavbarProps
source · pub struct NavbarProps {
pub children: Children,
pub classes: Classes,
pub fixed: Option<NavbarFixed>,
pub transparent: bool,
pub spaced: bool,
pub padded: bool,
pub navbrand: Option<Html>,
pub navstart: Option<Html>,
pub navend: Option<Html>,
pub navburger: bool,
pub navburger_classes: Classes,
}
Fields§
§children: Children
§classes: Classes
§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.
The contents of the navbar-brand
section of the navbar.
The contents of the navbar-start
section of the navbar.
The contents of the navbar-end
section of the navbar.
A bool controlling if the navbar should have a navbar burger for smaller viewports.
Extra classes for the navbar burger.
Trait Implementations§
source§fn clone(&self) -> NavbarProps
fn clone(&self) -> NavbarProps
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§fn eq(&self, other: &NavbarProps) -> bool
fn eq(&self, other: &NavbarProps) -> bool
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
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>
self
to a value of a Properties
struct.source§fn into_prop_value(self) -> T
fn into_prop_value(self) -> T
self
to a value of a Properties
struct.