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§
Source§impl Ord for PositionX
impl Ord for PositionX
Source§impl PartialOrd for PositionX
impl PartialOrd for PositionX
impl Eq 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 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