Struct libdiffsitter::diff::Line
source · pub struct Line<'a> {
pub line_index: usize,
pub entries: Vec<Entry<'a>>,
}
Expand description
The edit information representing a line
Fields§
§line_index: usize
The index of the line in the original document
entries: Vec<Entry<'a>>
The entries corresponding to the line
Implementations§
Trait Implementations§
source§impl<'a> PartialEq<Line<'a>> for Line<'a>
impl<'a> PartialEq<Line<'a>> for Line<'a>
impl<'a> Eq for Line<'a>
impl<'a> StructuralEq for Line<'a>
impl<'a> StructuralPartialEq for Line<'a>
Auto Trait Implementations§
impl<'a> RefUnwindSafe for Line<'a>
impl<'a> !Send for Line<'a>
impl<'a> !Sync for Line<'a>
impl<'a> Unpin for Line<'a>
impl<'a> UnwindSafe for Line<'a>
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