pub struct EuvSidebarMenuSubButtonProps {
pub is_active: bool,
pub href: &'static str,
}Expand description
Props of the euv_sidebar_menu_sub_button component.
A nested row behaves like a row of the menu itself: it carries the active state and leads to a route.
Fields§
§is_active: boolWhether the row is the one the reader is on.
href: &'static strThe route the row leads to.
An empty route renders a button instead of a link.
Trait Implementations§
Source§impl Clone for EuvSidebarMenuSubButtonProps
impl Clone for EuvSidebarMenuSubButtonProps
Source§impl Debug for EuvSidebarMenuSubButtonProps
impl Debug for EuvSidebarMenuSubButtonProps
Auto Trait Implementations§
impl Forget for EuvSidebarMenuSubButtonProps
impl Freeze for EuvSidebarMenuSubButtonProps
impl Move for EuvSidebarMenuSubButtonProps
impl RefUnwindSafe for EuvSidebarMenuSubButtonProps
impl Send for EuvSidebarMenuSubButtonProps
impl Sync for EuvSidebarMenuSubButtonProps
impl Unpin for EuvSidebarMenuSubButtonProps
impl UnsafeUnpin for EuvSidebarMenuSubButtonProps
impl UnwindSafe for EuvSidebarMenuSubButtonProps
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