pub enum PaneDirection {
Left,
Down,
Up,
Right,
}Expand description
<C-w>h/j/k/l cardinal navigation. Geometry-aware: walks the
tree to find the spatial neighbour of the active pane.
Owned in lattice-core (alongside the pane geometry) so any
renderer + the grammar’s AppEffect::NavigatePane payload can
reference one canonical type. lattice-grammar re-exports it
for ergonomic access from AppEffect.
Variants§
Left
<C-w>h — the neighbour to the left.
Down
<C-w>j — the neighbour below.
Up
<C-w>k — the neighbour above.
Right
<C-w>l — the neighbour to the right.
Trait Implementations§
Source§impl Clone for PaneDirection
impl Clone for PaneDirection
Source§fn clone(&self) -> PaneDirection
fn clone(&self) -> PaneDirection
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 PaneDirection
Source§impl Debug for PaneDirection
impl Debug for PaneDirection
Source§impl<'de> Deserialize<'de> for PaneDirection
impl<'de> Deserialize<'de> for PaneDirection
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for PaneDirection
Source§impl PartialEq for PaneDirection
impl PartialEq for PaneDirection
Source§impl Serialize for PaneDirection
impl Serialize for PaneDirection
impl StructuralPartialEq for PaneDirection
Auto Trait Implementations§
impl Freeze for PaneDirection
impl RefUnwindSafe for PaneDirection
impl Send for PaneDirection
impl Sync for PaneDirection
impl Unpin for PaneDirection
impl UnsafeUnpin for PaneDirection
impl UnwindSafe for PaneDirection
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.