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§impl Debug for PaneCommandResolution
impl Debug for PaneCommandResolution
impl Eq for PaneCommandResolution
Source§impl PartialEq for PaneCommandResolution
impl PartialEq for PaneCommandResolution
impl StructuralPartialEq for PaneCommandResolution
Auto Trait Implementations§
impl Forget for PaneCommandResolution
impl Freeze for PaneCommandResolution
impl Move 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