pub struct AreaLine {
pub start: usize,
pub end: usize,
pub hard: bool,
}Expand description
One laid line of a area: chars start..end of the shown text (a hard line
break’s \n is not in any line), and whether a \n ends it.
Fields§
§start: usizeFirst char of the line.
end: usizeOne past its last char.
hard: boolA \n ends it (else a soft wrap or the text’s end).
Trait Implementations§
impl Copy for AreaLine
impl Eq for AreaLine
impl StructuralPartialEq for AreaLine
Auto Trait Implementations§
impl Forget for AreaLine
impl Freeze for AreaLine
impl Move for AreaLine
impl RefUnwindSafe for AreaLine
impl Send for AreaLine
impl Sync for AreaLine
impl Unpin for AreaLine
impl UnsafeUnpin for AreaLine
impl UnwindSafe for AreaLine
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