pub struct ModeStackSnapshot {
pub current: String,
pub stack: Vec<String>,
pub depth: usize,
}Expand description
Snapshot of mode stack.
Fields§
§current: StringCurrent active mode display string.
stack: Vec<String>Full mode stack (bottom to top).
depth: usizeStack depth.
Trait Implementations§
Source§impl Clone for ModeStackSnapshot
impl Clone for ModeStackSnapshot
Source§fn clone(&self) -> ModeStackSnapshot
fn clone(&self) -> ModeStackSnapshot
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 ModeStackSnapshot
impl RefUnwindSafe for ModeStackSnapshot
impl Send for ModeStackSnapshot
impl Sync for ModeStackSnapshot
impl Unpin for ModeStackSnapshot
impl UnsafeUnpin for ModeStackSnapshot
impl UnwindSafe for ModeStackSnapshot
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