[][src]Enum diff::OptionDiff

pub enum OptionDiff<T> where
    T: Diff
{ Some(T::Repr), None, NoChange, }

Variants

Some(T::Repr)
None
NoChange

Trait Implementations

impl<T: Debug> Debug for OptionDiff<T> where
    T: Diff,
    T::Repr: Debug
[src]

impl<T: PartialEq> PartialEq<OptionDiff<T>> for OptionDiff<T> where
    T: Diff,
    T::Repr: PartialEq
[src]

impl<T> StructuralPartialEq for OptionDiff<T> where
    T: Diff
[src]

Auto Trait Implementations

impl<T> RefUnwindSafe for OptionDiff<T> where
    <T as Diff>::Repr: RefUnwindSafe

impl<T> Send for OptionDiff<T> where
    <T as Diff>::Repr: Send

impl<T> Sync for OptionDiff<T> where
    <T as Diff>::Repr: Sync

impl<T> Unpin for OptionDiff<T> where
    <T as Diff>::Repr: Unpin

impl<T> UnwindSafe for OptionDiff<T> where
    <T as Diff>::Repr: 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<T> From<T> 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.