pub enum PaneCommandNoopReason {
NoActivePane,
ActiveNotLeaf,
OnlyOnePane,
NoTargetInDirection,
RootCannotClose,
NoEnclosingSplit,
AlreadyMaximized,
NotMaximized,
}Expand description
Why a command resolved to a no-op.
Variants§
NoActivePane
No active pane was set in the focus context.
ActiveNotLeaf
The active pane id was not a leaf in the tree.
OnlyOnePane
Only one pane exists; navigation/structural change is meaningless.
NoTargetInDirection
No pane exists in the requested direction.
RootCannotClose
The active pane is the root and cannot be closed.
NoEnclosingSplit
The active leaf has no enclosing split to resize.
AlreadyMaximized
A pane is already maximized (or the active one is).
NotMaximized
No pane is currently maximized.
Trait Implementations§
Source§impl Clone for PaneCommandNoopReason
impl Clone for PaneCommandNoopReason
Source§fn clone(&self) -> PaneCommandNoopReason
fn clone(&self) -> PaneCommandNoopReason
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for PaneCommandNoopReason
Source§impl Debug for PaneCommandNoopReason
impl Debug for PaneCommandNoopReason
impl Eq for PaneCommandNoopReason
Source§impl PartialEq for PaneCommandNoopReason
impl PartialEq for PaneCommandNoopReason
Source§fn eq(&self, other: &PaneCommandNoopReason) -> bool
fn eq(&self, other: &PaneCommandNoopReason) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for PaneCommandNoopReason
Auto Trait Implementations§
impl Freeze for PaneCommandNoopReason
impl RefUnwindSafe for PaneCommandNoopReason
impl Send for PaneCommandNoopReason
impl Sync for PaneCommandNoopReason
impl Unpin for PaneCommandNoopReason
impl UnsafeUnpin for PaneCommandNoopReason
impl UnwindSafe for PaneCommandNoopReason
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