pub struct ProfileDiff {
pub left: Symbol,
pub right: Symbol,
pub status: ProfileDiffStatus,
pub shared_organs: Vec<Symbol>,
pub left_only_organs: Vec<Symbol>,
pub right_only_organs: Vec<Symbol>,
pub differences: Vec<ProfileDifference>,
}Expand description
Structural comparison of two language profiles, produced by
standard_diff_stub.
Fields§
§left: SymbolSymbol of the left profile.
right: SymbolSymbol of the right profile.
status: ProfileDiffStatusOverall same/different status.
Organs used by both profiles.
left_only_organs: Vec<Symbol>Organs used only by the left profile.
right_only_organs: Vec<Symbol>Organs used only by the right profile.
differences: Vec<ProfileDifference>Per-field differences.
Implementations§
Trait Implementations§
Source§impl Clone for ProfileDiff
impl Clone for ProfileDiff
Source§fn clone(&self) -> ProfileDiff
fn clone(&self) -> ProfileDiff
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 ProfileDiff
impl Debug for ProfileDiff
impl Eq for ProfileDiff
Source§impl PartialEq for ProfileDiff
impl PartialEq for ProfileDiff
Source§fn eq(&self, other: &ProfileDiff) -> bool
fn eq(&self, other: &ProfileDiff) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for ProfileDiff
Auto Trait Implementations§
impl Freeze for ProfileDiff
impl RefUnwindSafe for ProfileDiff
impl Send for ProfileDiff
impl Sync for ProfileDiff
impl Unpin for ProfileDiff
impl UnsafeUnpin for ProfileDiff
impl UnwindSafe for ProfileDiff
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.