pub enum LayoutChangeKind {
Split {
new_window: u64,
direction: SplitDirection,
},
Close {
closed_window: u64,
new_focus: Option<u64>,
},
Focus {
from: Option<u64>,
to: u64,
},
Resize {
window: u64,
},
Equalize,
}Expand description
Type of layout change that occurred.
Variants§
Split
Window was split.
Fields
§
direction: SplitDirectionDirection of the split.
Close
Window was closed.
Fields
Focus
Focus changed to a different window.
Resize
Window was resized.
Equalize
All windows were equalized in size.
Trait Implementations§
Source§impl Clone for LayoutChangeKind
impl Clone for LayoutChangeKind
Source§fn clone(&self) -> LayoutChangeKind
fn clone(&self) -> LayoutChangeKind
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 moreSource§impl Debug for LayoutChangeKind
impl Debug for LayoutChangeKind
Source§impl PartialEq for LayoutChangeKind
impl PartialEq for LayoutChangeKind
impl Eq for LayoutChangeKind
impl StructuralPartialEq for LayoutChangeKind
Auto Trait Implementations§
impl Freeze for LayoutChangeKind
impl RefUnwindSafe for LayoutChangeKind
impl Send for LayoutChangeKind
impl Sync for LayoutChangeKind
impl Unpin for LayoutChangeKind
impl UnsafeUnpin for LayoutChangeKind
impl UnwindSafe for LayoutChangeKind
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