Enum tty_interface::position::Position
source · [−]pub enum Position {
Absolute(AbsolutePosition),
Relative(RelativePosition),
}Expand description
A position in the terminal. May not have all information necessary to describe an exact position and may be invalid depending on interface state.
Variants
Absolute(AbsolutePosition)
An absolute coordinate position in the terminal.
Relative(RelativePosition)
A position relative to a line and segment.
Trait Implementations
impl Copy for Position
impl Eq for Position
impl StructuralEq for Position
impl StructuralPartialEq for Position
Auto Trait Implementations
impl RefUnwindSafe for Position
impl Send for Position
impl Sync for Position
impl Unpin for Position
impl UnwindSafe for Position
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more