Struct jujutsu_lib::files::DiffLine
source · [−]pub struct DiffLine<'a> {
pub left_line_number: u32,
pub right_line_number: u32,
pub has_left_content: bool,
pub has_right_content: bool,
pub hunks: Vec<DiffHunk<'a>>,
}Fields
left_line_number: u32right_line_number: u32has_left_content: boolhas_right_content: boolhunks: Vec<DiffHunk<'a>>Implementations
sourceimpl DiffLine<'_>
impl DiffLine<'_>
pub fn is_unmodified(&self) -> bool
Trait Implementations
impl<'a> Eq for DiffLine<'a>
impl<'a> StructuralEq for DiffLine<'a>
impl<'a> StructuralPartialEq for DiffLine<'a>
Auto Trait Implementations
impl<'a> RefUnwindSafe for DiffLine<'a>
impl<'a> Send for DiffLine<'a>
impl<'a> Sync for DiffLine<'a>
impl<'a> Unpin for DiffLine<'a>
impl<'a> UnwindSafe for DiffLine<'a>
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into)Uses borrowed data to replace owned data, usually by cloning. Read more