pub struct SidebarProps {Show 34 fields
pub fixed: bool,
pub sider_collapsed: bool,
pub menu_items: Vec<MenuItem>,
pub toggle_icon_collapsed: VNode,
pub toggle_icon_expanded: VNode,
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: VNode,
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: VNodeยงtoggle_icon_expanded: VNodeยง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: VNodeยงsize: &'static strProperties for the Accordion components, aka submenus. Size of the accordion. Possible values: โsmโ, โmdโ, โlgโ.
aria_controls: &'static strARIA controls attribute for accessibility.
container_class: &'static strClass for the container element.
expanded_element_class: &'static strClass for the expanded element.
collapsed_element_class: &'static strClass for the collapsed element.
content_container_class: &'static strClass 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ยง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ยง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 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.