pub struct AddedLine {
pub line: u32,
pub text: String,
}Expand description
An added line with its line number in the new file.
Fields§
§line: u321-based line number in the new file.
text: StringRaw line content, without the leading +.
Trait Implementations§
impl Eq for AddedLine
impl StructuralPartialEq for AddedLine
Auto Trait Implementations§
impl Forget for AddedLine
impl Freeze for AddedLine
impl Move for AddedLine
impl RefUnwindSafe for AddedLine
impl Send for AddedLine
impl Sync for AddedLine
impl Unpin for AddedLine
impl UnsafeUnpin for AddedLine
impl UnwindSafe for AddedLine
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