pub enum Sum3<A, B, C> {
In1(A),
In2(B),
In3(C),
}Expand description
A coproduct of three types.
Variants§
Implementations§
Trait Implementations§
impl<A: Eq, B: Eq, C: Eq> Eq for Sum3<A, B, C>
impl<A, B, C> StructuralPartialEq for Sum3<A, B, C>
Auto Trait Implementations§
impl<A, B, C> Freeze for Sum3<A, B, C>
impl<A, B, C> RefUnwindSafe for Sum3<A, B, C>
impl<A, B, C> Send for Sum3<A, B, C>
impl<A, B, C> Sync for Sum3<A, B, C>
impl<A, B, C> Unpin for Sum3<A, B, C>
impl<A, B, C> UnsafeUnpin for Sum3<A, B, C>
impl<A, B, C> UnwindSafe for Sum3<A, B, C>
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more