Expand description
Represents a row of text within a String
.
A row is made of offsets into a parent String
.
The corresponding substring should take width
cells when printed.
Fields
start: usize
Beginning of the row in the parent String
.
end: usize
End of the row (excluded)
width: usize
Width of the row, in cells.
is_wrapped: bool
Whether or not this text was wrapped onto the next line
Implementations
Trait Implementations
sourceimpl PartialEq<Row> for Row
impl PartialEq<Row> for Row
impl Copy for Row
impl Eq for Row
impl StructuralEq for Row
impl StructuralPartialEq for Row
Auto Trait Implementations
impl RefUnwindSafe for Row
impl Send for Row
impl Sync for Row
impl Unpin for Row
impl UnwindSafe for Row
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
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