pub struct DiffBundle {
pub old_path: Option<String>,
pub new_path: Option<String>,
pub hunks: Vec<DiffHunk>,
pub formatted: String,
}Fields§
§old_path: Option<String>§new_path: Option<String>§hunks: Vec<DiffHunk>§formatted: StringTrait Implementations§
Source§impl Clone for DiffBundle
impl Clone for DiffBundle
Source§fn clone(&self) -> DiffBundle
fn clone(&self) -> DiffBundle
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 DiffBundle
impl RefUnwindSafe for DiffBundle
impl Send for DiffBundle
impl Sync for DiffBundle
impl Unpin for DiffBundle
impl UnsafeUnpin for DiffBundle
impl UnwindSafe for DiffBundle
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