pub struct LineDamage {
pub line: usize,
pub left: usize,
pub right: usize,
}Expand description
The damaged column span of a single line.
Fields§
§line: usize§left: usize§right: usizeTrait Implementations§
Source§impl Clone for LineDamage
impl Clone for LineDamage
Source§fn clone(&self) -> LineDamage
fn clone(&self) -> LineDamage
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl 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