pub struct MultiDiffStats {
pub total_lines: usize,
pub consensus_lines: usize,
pub divergent_lines: usize,
pub consensus_percentage: f64,
}Expand description
Aggregate statistics for a multi-way diff.
Fields§
§total_lines: usize§consensus_lines: usize§divergent_lines: usize§consensus_percentage: f64Trait Implementations§
Source§impl Clone for MultiDiffStats
impl Clone for MultiDiffStats
Source§fn clone(&self) -> MultiDiffStats
fn clone(&self) -> MultiDiffStats
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 MultiDiffStats
impl Debug for MultiDiffStats
Source§impl<'de> Deserialize<'de> for MultiDiffStats
impl<'de> Deserialize<'de> for MultiDiffStats
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 MultiDiffStats
impl RefUnwindSafe for MultiDiffStats
impl Send for MultiDiffStats
impl Sync for MultiDiffStats
impl Unpin for MultiDiffStats
impl UnsafeUnpin for MultiDiffStats
impl UnwindSafe for MultiDiffStats
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