pub struct SidebarItem { /* private fields */ }Implementations§
Source§impl SidebarItem
impl SidebarItem
pub fn new(label: String) -> SidebarItem
pub fn icon(self, icon: String) -> SidebarItem
pub fn href(self, href: String) -> SidebarItem
Auto Trait Implementations§
impl Freeze for SidebarItem
impl RefUnwindSafe for SidebarItem
impl Send for SidebarItem
impl Sync for SidebarItem
impl Unpin for SidebarItem
impl UnwindSafe for SidebarItem
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