Struct next_rs::SidebarProps
source · pub struct SidebarProps {Show 25 fields
pub fixed: bool,
pub sider_collapsed: bool,
pub menu_items: Vec<MenuItem>,
pub width_collapsed: &'static str,
pub width_expanded: &'static str,
pub padding_collapsed: &'static str,
pub padding_expanded: &'static str,
pub display_collapsed: &'static str,
pub display_expanded: &'static str,
pub justify_content: &'static str,
pub align_items: &'static str,
pub height: &'static str,
pub background_color: &'static str,
pub font: &'static str,
pub icon_color: &'static str,
pub button_border_radius: &'static str,
pub button_background_color: &'static str,
pub button_width: &'static str,
pub button_height: &'static str,
pub title: &'static str,
pub logo_src: &'static str,
pub logo_alt: &'static str,
pub logo_img_class: &'static str,
pub logo_link: &'static str,
pub logo_class: &'static str,
}
Fields§
§fixed: bool
§sider_collapsed: bool
§width_collapsed: &'static str
§width_expanded: &'static str
§padding_collapsed: &'static str
§padding_expanded: &'static str
§display_collapsed: &'static str
§display_expanded: &'static str
§justify_content: &'static str
§align_items: &'static str
§height: &'static str
§background_color: &'static str
§font: &'static str
§icon_color: &'static str
§title: &'static str
§logo_src: &'static str
§logo_alt: &'static str
§logo_img_class: &'static str
§logo_link: &'static str
§logo_class: &'static str
Trait Implementations§
source§impl Clone for SidebarProps
impl Clone for SidebarProps
source§fn clone(&self) -> SidebarProps
fn clone(&self) -> SidebarProps
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§impl Default for SidebarProps
impl Default for SidebarProps
source§fn default() -> SidebarProps
fn default() -> SidebarProps
Returns the “default value” for a type. Read more
source§impl PartialEq for SidebarProps
impl PartialEq for SidebarProps
source§fn eq(&self, other: &SidebarProps) -> bool
fn eq(&self, other: &SidebarProps) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Properties for SidebarProps
impl Properties for SidebarProps
source§fn builder() -> <SidebarProps as Properties>::Builder
fn builder() -> <SidebarProps as Properties>::Builder
Entrypoint for building properties
impl StructuralPartialEq for SidebarProps
Auto Trait Implementations§
impl !RefUnwindSafe for SidebarProps
impl !Send for SidebarProps
impl !Sync for SidebarProps
impl Unpin for SidebarProps
impl !UnwindSafe for SidebarProps
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.