pub struct SidebarProps {Show 34 fields
pub fixed: bool,
pub sider_collapsed: bool,
pub menu_items: Vec<MenuItem>,
pub toggle_icon_collapsed: Html,
pub toggle_icon_expanded: Html,
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,
pub bottom_section: Html,
pub size: &'static str,
pub aria_controls: &'static str,
pub container_class: &'static str,
pub expanded_element_class: &'static str,
pub collapsed_element_class: &'static str,
pub content_container_class: &'static str,
}
Fieldsยง
ยงfixed: bool
ยงsider_collapsed: bool
ยงtoggle_icon_collapsed: Html
ยงtoggle_icon_expanded: Html
ยง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
ยงbottom_section: Html
ยงsize: &'static str
Properties for the Accordion components, aka submenus. Size of the accordion. Possible values: โsmโ, โmdโ, โlgโ.
aria_controls: &'static str
ARIA controls attribute for accessibility.
container_class: &'static str
Class for the container element.
expanded_element_class: &'static str
Class for the expanded element.
collapsed_element_class: &'static str
Class for the collapsed element.
content_container_class: &'static str
Class for the content container.
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ยงimpl PartialEq for SidebarProps
impl PartialEq for SidebarProps
Sourceยงimpl Properties for SidebarProps
impl Properties for SidebarProps
impl StructuralPartialEq for SidebarProps
Auto Trait Implementationsยง
impl Freeze for SidebarProps
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
Sourceยงimpl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Sourceยงimpl<T> Instrument for T
impl<T> Instrument for 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ยง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.