pub struct SidebarGroupLabelProps {
pub text: WidgetText,
pub show_when_collapsed: bool,
}Fields§
§text: WidgetText§show_when_collapsed: boolImplementations§
Source§impl SidebarGroupLabelProps
impl SidebarGroupLabelProps
pub fn new(text: impl Into<WidgetText>) -> Self
pub fn show_when_collapsed(self, show: bool) -> Self
Trait Implementations§
Source§impl Clone for SidebarGroupLabelProps
impl Clone for SidebarGroupLabelProps
Source§fn clone(&self) -> SidebarGroupLabelProps
fn clone(&self) -> SidebarGroupLabelProps
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 SidebarGroupLabelProps
impl RefUnwindSafe for SidebarGroupLabelProps
impl Send for SidebarGroupLabelProps
impl Sync for SidebarGroupLabelProps
impl Unpin for SidebarGroupLabelProps
impl UnsafeUnpin for SidebarGroupLabelProps
impl UnwindSafe for SidebarGroupLabelProps
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