Struct discrimination::discriminator::Product [] [src]

pub struct Product<L, R: ?Sized> {
    pub is_right_biased: bool,
    pub left: L,
    pub right: R,
}

Fields

Methods

impl<L, R> Product<L, R>
[src]

Trait Implementations

impl<L: Debug, R: Debug + ?Sized> Debug for Product<L, R>
[src]

Formats the value using the given formatter.

impl<L: Copy, R: Copy + ?Sized> Copy for Product<L, R>
[src]

impl<L: Clone, R: Clone + ?Sized> Clone for Product<L, R>
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl<L: Default, R: Default + ?Sized> Default for Product<L, R>
[src]

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

impl<'a, J: 'a, K: 'a, L, R: ?Sized> Discriminator<'a, (J, K)> for Product<L, R> where
    L: Discriminator<'a, J>,
    R: Discriminator<'a, K>, 
[src]