Struct text_terminal::ScrollbackBufferPoint
source · pub struct ScrollbackBufferPoint { /* private fields */ }
Expand description
A 2D position value that represents a point in the scrollback buffer,
in which (0, 0)
represents the Unit
at the first column of the first line.
Trait Implementations§
source§impl Add<ScrollbackBufferPoint> for ScrollbackBufferPoint
impl Add<ScrollbackBufferPoint> for ScrollbackBufferPoint
§type Output = ScrollbackBufferPoint
type Output = ScrollbackBufferPoint
The resulting type after applying the
+
operator.source§fn add(self, rhs: ScrollbackBufferPoint) -> ScrollbackBufferPoint
fn add(self, rhs: ScrollbackBufferPoint) -> ScrollbackBufferPoint
Performs the
+
operation. Read moresource§impl AddAssign<ScrollbackBufferPoint> for ScrollbackBufferPoint
impl AddAssign<ScrollbackBufferPoint> for ScrollbackBufferPoint
source§fn add_assign(&mut self, rhs: ScrollbackBufferPoint)
fn add_assign(&mut self, rhs: ScrollbackBufferPoint)
Performs the
+=
operation. Read moresource§impl Clone for ScrollbackBufferPoint
impl Clone for ScrollbackBufferPoint
source§fn clone(&self) -> ScrollbackBufferPoint
fn clone(&self) -> ScrollbackBufferPoint
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 ScrollbackBufferPoint
impl Debug for ScrollbackBufferPoint
source§impl Default for ScrollbackBufferPoint
impl Default for ScrollbackBufferPoint
source§fn default() -> ScrollbackBufferPoint
fn default() -> ScrollbackBufferPoint
Returns the “default value” for a type. Read more
source§impl Ord for ScrollbackBufferPoint
impl Ord for ScrollbackBufferPoint
source§impl PartialEq<ScrollbackBufferPoint> for ScrollbackBufferPoint
impl PartialEq<ScrollbackBufferPoint> for ScrollbackBufferPoint
source§fn eq(&self, other: &ScrollbackBufferPoint) -> bool
fn eq(&self, other: &ScrollbackBufferPoint) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd<ScrollbackBufferPoint> for ScrollbackBufferPoint
impl PartialOrd<ScrollbackBufferPoint> for ScrollbackBufferPoint
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 Sub<ScrollbackBufferPoint> for ScrollbackBufferPoint
impl Sub<ScrollbackBufferPoint> for ScrollbackBufferPoint
§type Output = ScrollbackBufferPoint
type Output = ScrollbackBufferPoint
The resulting type after applying the
-
operator.source§fn sub(self, rhs: ScrollbackBufferPoint) -> ScrollbackBufferPoint
fn sub(self, rhs: ScrollbackBufferPoint) -> ScrollbackBufferPoint
Performs the
-
operation. Read moresource§impl SubAssign<ScrollbackBufferPoint> for ScrollbackBufferPoint
impl SubAssign<ScrollbackBufferPoint> for ScrollbackBufferPoint
source§fn sub_assign(&mut self, rhs: ScrollbackBufferPoint)
fn sub_assign(&mut self, rhs: ScrollbackBufferPoint)
Performs the
-=
operation. Read moreimpl Copy for ScrollbackBufferPoint
impl Eq for ScrollbackBufferPoint
impl StructuralEq for ScrollbackBufferPoint
impl StructuralPartialEq for ScrollbackBufferPoint
Auto Trait Implementations§
impl RefUnwindSafe for ScrollbackBufferPoint
impl Send for ScrollbackBufferPoint
impl Sync for ScrollbackBufferPoint
impl Unpin for ScrollbackBufferPoint
impl UnwindSafe for ScrollbackBufferPoint
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