pub struct SidebarMenuSubButtonProps<'__a> {
pub active: Expr<bool>,
pub size: SidebarMenuButtonSize,
pub attrs: Attributes,
pub child: Child<'__a>,
}Expand description
A nested menu link. Pass its destination through the href attribute.
Fields§
§active: Expr<bool>§size: SidebarMenuButtonSize§attrs: Attributes§child: Child<'__a>Implementations§
Source§impl<'__a> SidebarMenuSubButtonProps<'__a>
impl<'__a> SidebarMenuSubButtonProps<'__a>
Sourcepub fn builder() -> SidebarMenuSubButtonPropsBuilder<'__a>
pub fn builder() -> SidebarMenuSubButtonPropsBuilder<'__a>
Returns a SidebarMenuSubButtonPropsBuilder with no properties set.
Trait Implementations§
Auto Trait Implementations§
impl<'__a> !RefUnwindSafe for SidebarMenuSubButtonProps<'__a>
impl<'__a> !Sync for SidebarMenuSubButtonProps<'__a>
impl<'__a> !UnwindSafe for SidebarMenuSubButtonProps<'__a>
impl<'__a> Freeze for SidebarMenuSubButtonProps<'__a>
impl<'__a> Send for SidebarMenuSubButtonProps<'__a>
impl<'__a> Unpin for SidebarMenuSubButtonProps<'__a>
impl<'__a> UnsafeUnpin for SidebarMenuSubButtonProps<'__a>
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