pub struct LineLogDisplay {
pub old_path: String,
pub new_path: String,
pub old_bytes: Vec<u8>,
pub new_bytes: Vec<u8>,
pub commit_ranges: RangeSet,
pub touched: DiffRanges,
}Expand description
Captured diff input for format_line_log_diff (one file per hunk group).
Fields§
§old_path: String§new_path: String§old_bytes: Vec<u8>§new_bytes: Vec<u8>§commit_ranges: RangeSet§touched: DiffRangesTrait Implementations§
Source§impl Clone for LineLogDisplay
impl Clone for LineLogDisplay
Source§fn clone(&self) -> LineLogDisplay
fn clone(&self) -> LineLogDisplay
Returns a duplicate 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 LineLogDisplay
impl RefUnwindSafe for LineLogDisplay
impl Send for LineLogDisplay
impl Sync for LineLogDisplay
impl Unpin for LineLogDisplay
impl UnsafeUnpin for LineLogDisplay
impl UnwindSafe for LineLogDisplay
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