pub struct MultiDiffResult {
pub base_version: usize,
pub version_count: usize,
pub lines: Vec<MultiDiffLine>,
pub stats: MultiDiffStats,
}Expand description
Full result of a multi-way diff.
Fields§
§base_version: usizeIndex of the base version (always 0, meaning base itself).
version_count: usizeNumber of versions compared (base + additional versions).
lines: Vec<MultiDiffLine>§stats: MultiDiffStatsTrait Implementations§
Source§impl Clone for MultiDiffResult
impl Clone for MultiDiffResult
Source§fn clone(&self) -> MultiDiffResult
fn clone(&self) -> MultiDiffResult
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 moreSource§impl Debug for MultiDiffResult
impl Debug for MultiDiffResult
Source§impl<'de> Deserialize<'de> for MultiDiffResult
impl<'de> Deserialize<'de> for MultiDiffResult
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for MultiDiffResult
impl RefUnwindSafe for MultiDiffResult
impl Send for MultiDiffResult
impl Sync for MultiDiffResult
impl Unpin for MultiDiffResult
impl UnsafeUnpin for MultiDiffResult
impl UnwindSafe for MultiDiffResult
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