Struct mhost::diff::Difference[][src]

pub struct Difference<T: Eq> {
    pub fields: Vec<T>,
}

Fields

fields: Vec<T>

Implementations

impl<T: Eq> Difference<T>[src]

pub fn new(fields: Vec<T>) -> Self[src]

pub fn has_differences(&self) -> bool[src]

pub fn differences(&self) -> &[T][src]

Trait Implementations

impl<T: Debug + Eq> Debug for Difference<T>[src]

impl<T: Eq> Eq for Difference<T>[src]

impl<T: Ord + Eq> Ord for Difference<T>[src]

impl<T: PartialEq + Eq> PartialEq<Difference<T>> for Difference<T>[src]

impl<T: PartialOrd + Eq> PartialOrd<Difference<T>> for Difference<T>[src]

impl<T: Eq> StructuralEq for Difference<T>[src]

impl<T: Eq> StructuralPartialEq for Difference<T>[src]

Auto Trait Implementations

impl<T> RefUnwindSafe for Difference<T> where
    T: RefUnwindSafe

impl<T> Send for Difference<T> where
    T: Send

impl<T> Sync for Difference<T> where
    T: Sync

impl<T> Unpin for Difference<T> where
    T: Unpin

impl<T> UnwindSafe for Difference<T> where
    T: UnwindSafe

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<Q, K> Equivalent<K> for Q where
    K: Borrow<Q> + ?Sized,
    Q: Eq + ?Sized
[src]

impl<T> From<T> for T[src]

impl<T> Instrument for T[src]

impl<T> Instrument for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>, 

impl<T> WithSubscriber for T[src]