Enum pbcodec::variants::Variant2 [] [src]

pub enum Variant2<A, B> {
    A(A),
    B(B),
}

Variants

Trait Implementations

impl<A: Debug, B: Debug> Debug for Variant2<A, B>
[src]

Formats the value using the given formatter.

impl<A: Clone, B: Clone> Clone for Variant2<A, B>
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl<A: Copy, B: Copy> Copy for Variant2<A, B>
[src]