pub struct Wrapped {
pub starts: Vec<usize>,
pub start_cols: Vec<usize>,
pub indent: usize,
}Expand description
How one line wraps into display rows.
Fields§
§starts: Vec<usize>Byte offset (within the line) where each row starts; the first is 0.
start_cols: Vec<usize>The visual column (of the line) where each row starts.
indent: usizeCells that rows after the first are indented by.
Trait Implementations§
impl Eq for Wrapped
impl StructuralPartialEq for Wrapped
Auto Trait Implementations§
impl Freeze for Wrapped
impl RefUnwindSafe for Wrapped
impl Send for Wrapped
impl Sync for Wrapped
impl Unpin for Wrapped
impl UnsafeUnpin for Wrapped
impl UnwindSafe for Wrapped
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