pub struct DiffLine {
pub origin: LineOrigin,
pub old_line: Option<LineNumber>,
pub new_line: Option<LineNumber>,
pub text: String,
pub has_newline: bool,
}Fields§
§origin: LineOrigin§old_line: Option<LineNumber>§new_line: Option<LineNumber>§text: StringUnprefixed content, preserving CR and other bytes represented in UTF-8.
has_newline: boolTrait Implementations§
impl Eq for DiffLine
impl StructuralPartialEq for DiffLine
Auto Trait Implementations§
impl Freeze for DiffLine
impl RefUnwindSafe for DiffLine
impl Send for DiffLine
impl Sync for DiffLine
impl Unpin for DiffLine
impl UnsafeUnpin for DiffLine
impl UnwindSafe for DiffLine
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