pub struct DiffFile {
pub path: String,
pub hunks: Vec<DiffHunk>,
}Expand description
A file in a parsed diff.
Fields§
§path: String§hunks: Vec<DiffHunk>Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for DiffFile
impl RefUnwindSafe for DiffFile
impl Send for DiffFile
impl Sync for DiffFile
impl Unpin for DiffFile
impl UnsafeUnpin for DiffFile
impl UnwindSafe for DiffFile
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