pub struct Line<'a> {
pub line_index: usize,
pub entries: Vec<&'a 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<&'a Entry<'a>>
The entries corresponding to the line
Implementations§
Trait Implementations§
impl<'a> Eq for Line<'a>
impl<'a> StructuralPartialEq for Line<'a>
Auto Trait Implementations§
impl<'a> Freeze for Line<'a>
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