pub struct PaneCommandResolution {
pub effect: PaneCommandEffect,
pub next_active: Option<PaneId>,
pub next_maximized: Option<PaneId>,
}Expand description
The full result of resolving one PaneCommand: the effect plus the
resulting focus context the host should adopt.
Fields§
§effect: PaneCommandEffectWhat the command does.
next_active: Option<PaneId>The active pane after the command (unchanged on no-op).
next_maximized: Option<PaneId>The maximized pane after the command (unchanged on no-op).
Implementations§
Source§impl PaneCommandResolution
impl PaneCommandResolution
Sourcepub const fn is_effective(&self) -> bool
pub const fn is_effective(&self) -> bool
True when the command produced a real effect (not a no-op).
Trait Implementations§
Source§impl Clone for PaneCommandResolution
impl Clone for PaneCommandResolution
Source§fn clone(&self) -> PaneCommandResolution
fn clone(&self) -> PaneCommandResolution
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 moreSource§impl Debug for PaneCommandResolution
impl Debug for PaneCommandResolution
impl Eq for PaneCommandResolution
Source§impl PartialEq for PaneCommandResolution
impl PartialEq for PaneCommandResolution
Source§fn eq(&self, other: &PaneCommandResolution) -> bool
fn eq(&self, other: &PaneCommandResolution) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for PaneCommandResolution
Auto Trait Implementations§
impl Freeze for PaneCommandResolution
impl RefUnwindSafe for PaneCommandResolution
impl Send for PaneCommandResolution
impl Sync for PaneCommandResolution
impl Unpin for PaneCommandResolution
impl UnsafeUnpin for PaneCommandResolution
impl UnwindSafe for PaneCommandResolution
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