pub struct UnifiedDiffLine {
pub pos: Option<String>,
pub old: Option<String>,
pub new: Option<String>,
}
Expand description
unified diff content lines
Fields§
§pos: Option<String>
§old: Option<String>
§new: Option<String>
Trait Implementations§
Source§impl Clone for UnifiedDiffLine
impl Clone for UnifiedDiffLine
Source§fn clone(&self) -> UnifiedDiffLine
fn clone(&self) -> UnifiedDiffLine
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreAuto Trait Implementations§
impl Freeze for UnifiedDiffLine
impl RefUnwindSafe for UnifiedDiffLine
impl Send for UnifiedDiffLine
impl Sync for UnifiedDiffLine
impl Unpin for UnifiedDiffLine
impl UnwindSafe for UnifiedDiffLine
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