pub struct LineRows {
pub starts: Vec<usize>,
pub indent: usize,
}Expand description
The rows of one model line: the char column each row starts at (starts[0] is 0) and
the indentation, in cells, of every row after the first.
Fields§
§starts: Vec<usize>§indent: usizeImplementations§
Trait Implementations§
impl Eq for LineRows
impl StructuralPartialEq for LineRows
Auto Trait Implementations§
impl Forget for LineRows
impl Freeze for LineRows
impl Move for LineRows
impl RefUnwindSafe for LineRows
impl Send for LineRows
impl Sync for LineRows
impl Unpin for LineRows
impl UnsafeUnpin for LineRows
impl UnwindSafe for LineRows
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