pub struct DiffBundle {
pub hunks: Vec<DiffHunk>,
pub formatted: String,
pub is_empty: bool,
}Expand description
A diff rendered with both structured hunks and formatted text.
Fields§
§hunks: Vec<DiffHunk>§formatted: String§is_empty: boolTrait 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 moreSource§impl Debug for DiffBundle
impl Debug for DiffBundle
Auto 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