pub struct LineDamage {
pub line: usize,
pub left: usize,
pub right: usize,
}Expand description
The damaged column span of a single line.
No #[non_exhaustive] (#844): nothing outside this crate has a reason to build one. No
public function accepts it — the engine hands it out — and there are zero out-of-crate literal
sites, so the attribute would bind nothing it does not already bind.
Fields§
§line: usize§left: usize§right: usizeTrait Implementations§
Source§impl Clone for LineDamage
impl Clone for LineDamage
impl Copy for LineDamage
Source§impl Debug for LineDamage
impl Debug for LineDamage
impl Eq for LineDamage
Source§impl PartialEq for LineDamage
impl PartialEq for LineDamage
impl StructuralPartialEq for LineDamage
Auto Trait Implementations§
impl Freeze for LineDamage
impl RefUnwindSafe for LineDamage
impl Send for LineDamage
impl Sync for LineDamage
impl Unpin for LineDamage
impl UnsafeUnpin for LineDamage
impl UnwindSafe for LineDamage
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