Struct text_terminal::UnitIndex
source · pub struct UnitIndex(/* private fields */);
Expand description
An index of a Unit
in a Line
in the scrollback buffer.
Trait Implementations§
source§impl AddAssign<UnitIndex> for UnitIndex
impl AddAssign<UnitIndex> for UnitIndex
source§fn add_assign(&mut self, rhs: UnitIndex)
fn add_assign(&mut self, rhs: UnitIndex)
Performs the
+=
operation. Read moresource§impl Ord for UnitIndex
impl Ord for UnitIndex
source§impl PartialEq<UnitIndex> for UnitIndex
impl PartialEq<UnitIndex> for UnitIndex
source§impl PartialOrd<UnitIndex> for UnitIndex
impl PartialOrd<UnitIndex> for UnitIndex
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 moresource§impl SubAssign<UnitIndex> for UnitIndex
impl SubAssign<UnitIndex> for UnitIndex
source§fn sub_assign(&mut self, rhs: UnitIndex)
fn sub_assign(&mut self, rhs: UnitIndex)
Performs the
-=
operation. Read moreimpl Copy for UnitIndex
impl Eq for UnitIndex
impl StructuralEq for UnitIndex
impl StructuralPartialEq for UnitIndex
Auto Trait Implementations§
impl RefUnwindSafe for UnitIndex
impl Send for UnitIndex
impl Sync for UnitIndex
impl Unpin for UnitIndex
impl UnwindSafe for UnitIndex
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