pub enum Sum3<A, B, C> {
A(A),
B(B),
C(C),
}Expand description
Holds the one alternative of three a value carries.
Variants§
Trait Implementations§
impl<A: Copy, B: Copy, C: Copy> Copy for Sum3<A, B, C>
impl<A: Eq, B: Eq, C: Eq> Eq for Sum3<A, B, C>
impl<A: PartialEq, B: PartialEq, C: PartialEq> 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
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.