pub enum PositionX {
ColumnNumber(usize),
TerminalCenter,
TerminalRight,
PaneBottom,
MousePosition,
StatusLineWindowPosition,
PositionFormat(PositionFormat),
}Expand description
C Both The centre of the terminal R -x The right side of the terminal P Both The bottom left of the pane M Both The mouse position W Both The window position on the status line S -y The line above or below the status line
Variants§
ColumnNumber(usize)
TerminalCenter
TerminalRight
PaneBottom
MousePosition
StatusLineWindowPosition
PositionFormat(PositionFormat)
Trait Implementations§
impl Eq for PositionX
Source§impl Ord for PositionX
impl Ord for PositionX
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialOrd for PositionX
impl PartialOrd for PositionX
impl StructuralPartialEq for PositionX
Auto Trait Implementations§
impl Freeze for PositionX
impl RefUnwindSafe for PositionX
impl Send for PositionX
impl Sync for PositionX
impl Unpin for PositionX
impl UnsafeUnpin for PositionX
impl UnwindSafe for PositionX
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