pub struct SidebarGroup {
pub text: String,
pub items: Vec<SidebarLink>,
}Expand description
侧边栏组
Fields§
§text: String组标题
items: Vec<SidebarLink>组内项目
Trait Implementations§
Source§impl Clone for SidebarGroup
impl Clone for SidebarGroup
Source§fn clone(&self) -> SidebarGroup
fn clone(&self) -> SidebarGroup
Returns a duplicate 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 moreAuto Trait Implementations§
impl Freeze for SidebarGroup
impl RefUnwindSafe for SidebarGroup
impl Send for SidebarGroup
impl Sync for SidebarGroup
impl Unpin for SidebarGroup
impl UnsafeUnpin for SidebarGroup
impl UnwindSafe for SidebarGroup
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