pub struct UnifiedDiffLine {
pub pos: Option<String>,
pub old: Option<String>,
pub new: Option<String>,
}Expand description
A single line in a unified diff.
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 duplicate of the value. Read more
1.0.0 (const: unstable) · 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 UnsafeUnpin 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