pub struct SidebarState {
pub open: bool,
/* private fields */
}Expand description
Sidebar state that can be stored externally for controlled mode
Fields§
§open: boolWhether the sidebar is expanded
Implementations§
Source§impl SidebarState
impl SidebarState
Sourcepub fn is_animating(&self) -> bool
pub fn is_animating(&self) -> bool
Check if animation is still running
Trait Implementations§
Source§impl Clone for SidebarState
impl Clone for SidebarState
Source§fn clone(&self) -> SidebarState
fn clone(&self) -> SidebarState
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 moreSource§impl Debug for SidebarState
impl Debug for SidebarState
Auto Trait Implementations§
impl Freeze for SidebarState
impl RefUnwindSafe for SidebarState
impl Send for SidebarState
impl Sync for SidebarState
impl Unpin for SidebarState
impl UnsafeUnpin for SidebarState
impl UnwindSafe for SidebarState
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