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