pub enum PaneCardinalDirection {
Left,
Right,
Up,
Down,
}Expand description
A cardinal direction for spatial focus and pane movement.
Variants§
Implementations§
Source§impl PaneCardinalDirection
impl PaneCardinalDirection
Sourcepub const fn incoming_placement(self) -> PanePlacement
pub const fn incoming_placement(self) -> PanePlacement
Placement of an incoming (moved) pane relative to a dock target in this direction. Left/Up place the incoming pane first; Right/Down place it second.
Trait Implementations§
Source§impl Clone for PaneCardinalDirection
impl Clone for PaneCardinalDirection
Source§fn clone(&self) -> PaneCardinalDirection
fn clone(&self) -> PaneCardinalDirection
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 PaneCardinalDirection
Source§impl Debug for PaneCardinalDirection
impl Debug for PaneCardinalDirection
impl Eq for PaneCardinalDirection
Source§impl Hash for PaneCardinalDirection
impl Hash for PaneCardinalDirection
Source§impl PartialEq for PaneCardinalDirection
impl PartialEq for PaneCardinalDirection
Source§fn eq(&self, other: &PaneCardinalDirection) -> bool
fn eq(&self, other: &PaneCardinalDirection) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for PaneCardinalDirection
Auto Trait Implementations§
impl Freeze for PaneCardinalDirection
impl RefUnwindSafe for PaneCardinalDirection
impl Send for PaneCardinalDirection
impl Sync for PaneCardinalDirection
impl Unpin for PaneCardinalDirection
impl UnsafeUnpin for PaneCardinalDirection
impl UnwindSafe for PaneCardinalDirection
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