Enum tmux_interface::commands::common::position::PositionFormat
source · pub enum PositionFormat {
Show 17 variants
PopupCentreX,
PopupCentreY,
PopupHeight,
PopupMouseBottom,
PopupMouseCentreX,
PopupMouseCentreY,
PopupMouseTop,
PopupMouseX,
PopupMouseY,
PopupPaneBottom,
PopupPaneLeft,
PopupPaneRight,
PopupPaneTop,
PopupStatusLineY,
PopupWidth,
PopupWindowStatusLineX,
PopupWindowStatusLineY,
}
Variants§
PopupCentreX
popup_centre_x
- Centered in the client
PopupCentreY
popup_centre_y
- Centered in the client
PopupHeight
popup_height
- Height of menu or popup
PopupMouseBottom
popup_mouse_bottom
- Bottom of at the mouse
PopupMouseCentreX
popup_mouse_centre_x
- Horizontal centre at the mouse
PopupMouseCentreY
popup_mouse_centre_y
- Vertical centre at the mouse
PopupMouseTop
popup_mouse_top
- Top at the mouse
PopupMouseX
popup_mouse_x
- Mouse X position
PopupMouseY
popup_mouse_y
- Mouse Y position
PopupPaneBottom
popup_pane_bottom
- Bottom of the pane
PopupPaneLeft
popup_pane_left
- Left of the pane
PopupPaneRight
popup_pane_right
- Right of the pane
PopupPaneTop
popup_pane_top
- Top of the pane
PopupStatusLineY
popup_status_line_y
- Above or below the status line
PopupWidth
popup_width
- Width of menu or popup
PopupWindowStatusLineX
popup_window_status_line_x
- At the window position in status line
PopupWindowStatusLineY
popup_window_status_line_y
- At the status line showing the window
Trait Implementations§
source§impl Clone for PositionFormat
impl Clone for PositionFormat
source§fn clone(&self) -> PositionFormat
fn clone(&self) -> PositionFormat
Returns a copy 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 PositionFormat
impl Debug for PositionFormat
source§impl Display for PositionFormat
impl Display for PositionFormat
source§impl Hash for PositionFormat
impl Hash for PositionFormat
source§impl Ord for PositionFormat
impl Ord for PositionFormat
source§fn cmp(&self, other: &PositionFormat) -> Ordering
fn cmp(&self, other: &PositionFormat) -> Ordering
1.21.0 · 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 PartialEq<PositionFormat> for PositionFormat
impl PartialEq<PositionFormat> for PositionFormat
source§fn eq(&self, other: &PositionFormat) -> bool
fn eq(&self, other: &PositionFormat) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd<PositionFormat> for PositionFormat
impl PartialOrd<PositionFormat> for PositionFormat
source§fn partial_cmp(&self, other: &PositionFormat) -> Option<Ordering>
fn partial_cmp(&self, other: &PositionFormat) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moreimpl Eq for PositionFormat
impl StructuralEq for PositionFormat
impl StructuralPartialEq for PositionFormat
Auto Trait Implementations§
impl RefUnwindSafe for PositionFormat
impl Send for PositionFormat
impl Sync for PositionFormat
impl Unpin for PositionFormat
impl UnwindSafe for PositionFormat
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