pub enum ToggleState {
On,
Off,
Unknown,
}Expand description
The toggle state of a MenuNode::Item.
Variants§
On
The entry is toggled on.
Off
The entry is toggled off.
Unknown
The state is indeterminate, or the entry can’t be toggled.
Trait Implementations§
Source§impl Clone for ToggleState
impl Clone for ToggleState
impl Copy for ToggleState
Source§impl Debug for ToggleState
impl Debug for ToggleState
impl Eq for ToggleState
Source§impl PartialEq for ToggleState
impl PartialEq for ToggleState
impl StructuralPartialEq for ToggleState
Auto Trait Implementations§
impl Freeze for ToggleState
impl RefUnwindSafe for ToggleState
impl Send for ToggleState
impl Sync for ToggleState
impl Unpin for ToggleState
impl UnsafeUnpin for ToggleState
impl UnwindSafe for ToggleState
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