pub enum Sum5<A, B, C, D, E> {
A(A),
B(B),
C(C),
D(D),
E(E),
}Expand description
Holds the one alternative of five a value carries.
Variants§
A(A)
The first alternative.
B(B)
The second alternative.
C(C)
The third alternative.
D(D)
The fourth alternative.
E(E)
The fifth alternative.
Trait Implementations§
impl<A: Copy, B: Copy, C: Copy, D: Copy, E: Copy> Copy for Sum5<A, B, C, D, E>
impl<A: Eq, B: Eq, C: Eq, D: Eq, E: Eq> Eq for Sum5<A, B, C, D, E>
Source§impl<A: PartialEq, B: PartialEq, C: PartialEq, D: PartialEq, E: PartialEq> PartialEq for Sum5<A, B, C, D, E>
impl<A: PartialEq, B: PartialEq, C: PartialEq, D: PartialEq, E: PartialEq> PartialEq for Sum5<A, B, C, D, E>
impl<A: PartialEq, B: PartialEq, C: PartialEq, D: PartialEq, E: PartialEq> StructuralPartialEq for Sum5<A, B, C, D, E>
Auto Trait Implementations§
impl<A, B, C, D, E> Freeze for Sum5<A, B, C, D, E>
impl<A, B, C, D, E> RefUnwindSafe for Sum5<A, B, C, D, E>
impl<A, B, C, D, E> Send for Sum5<A, B, C, D, E>
impl<A, B, C, D, E> Sync for Sum5<A, B, C, D, E>
impl<A, B, C, D, E> Unpin for Sum5<A, B, C, D, E>
impl<A, B, C, D, E> UnsafeUnpin for Sum5<A, B, C, D, E>
impl<A, B, C, D, E> UnwindSafe for Sum5<A, B, C, D, E>
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<This> ShapeProgramExt<This> for This
impl<This> ShapeProgramExt<This> for This
Source§fn compile_shape<Program>(
&self,
program: Program,
) -> <Program as ShapeProgramAlg<This>>::Tywhere
Program: ShapeProgramAlg<This>,
fn compile_shape<Program>(
&self,
program: Program,
) -> <Program as ShapeProgramAlg<This>>::Tywhere
Program: ShapeProgramAlg<This>,
Folds a declaration with this interpretation.