Struct discrimination::discriminator::Invert [] [src]

pub struct Invert<D: ?Sized>(pub D);

Methods

impl<D> Invert<D>
[src]

Trait Implementations

impl<D: Debug + ?Sized> Debug for Invert<D>
[src]

Formats the value using the given formatter.

impl<D: Copy + ?Sized> Copy for Invert<D>
[src]

impl<D: Clone + ?Sized> Clone for Invert<D>
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl<D: Default + ?Sized> Default for Invert<D>
[src]

Returns the "default value" for a type. Read more

impl<D> From<D> for Invert<D>
[src]

Performs the conversion.

impl<D: ?Sized> AsRef<D> for Invert<D>
[src]

Performs the conversion.

impl<D: ?Sized> AsMut<D> for Invert<D>
[src]

Performs the conversion.

impl<'a, K: 'a, D: ?Sized> Discriminator<'a, K> for Invert<D> where
    D: Discriminator<'a, K>, 
[src]