Struct next_rs::NavbarProps
source · pub struct NavbarProps {Show 20 fields
pub menus: Vec<Menu>,
pub button_href: &'static str,
pub button_text: &'static str,
pub navbar_class: &'static str,
pub logo_class: &'static str,
pub menu_toggle_class: &'static str,
pub line_class: &'static str,
pub flex_container_class: &'static str,
pub hidden_md_class: &'static str,
pub nav_class: &'static str,
pub menu_item_class: &'static str,
pub button_class: &'static str,
pub button_link_class: &'static str,
pub dropdown_item_class: &'static str,
pub dropdown_class: &'static str,
pub search_input_class: &'static str,
pub logo_src: &'static str,
pub logo_alt: &'static str,
pub logo_img_class: &'static str,
pub logo_link: &'static str,
}
Fields§
§logo_class: &'static str
§line_class: &'static str
§flex_container_class: &'static str
§dropdown_item_class: &'static str
§dropdown_class: &'static str
§search_input_class: &'static str
§logo_src: &'static str
§logo_alt: &'static str
§logo_img_class: &'static str
§logo_link: &'static str
Trait Implementations§
source§fn clone(&self) -> NavbarProps
fn clone(&self) -> NavbarProps
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 default() -> NavbarProps
fn default() -> NavbarProps
Returns the “default value” for a type. Read more
source§fn eq(&self, other: &NavbarProps) -> bool
fn eq(&self, other: &NavbarProps) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§fn builder() -> <NavbarProps as Properties>::Builder
fn builder() -> <NavbarProps as Properties>::Builder
Entrypoint for building properties
Auto Trait Implementations§
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoPropValue<Option<T>> for T
impl<T> IntoPropValue<Option<T>> for T
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§impl<T> IntoPropValue<T> for T
impl<T> IntoPropValue<T> for T
source§fn into_prop_value(self) -> T
fn into_prop_value(self) -> T
Convert
self
to a value of a Properties
struct.