pub enum Tuple3Instruction<A, B, Base>{
A(A),
B(B),
Base(Base),
}Expand description
Tuple instruction that allows composing a base instruction type with two extensions.
NOTE: All instructions in a tuple must use the same associated register type or else the compiler will produce a lot of very confusing errors.
Variants§
Trait Implementations§
Source§impl<A, B, Base> BaseInstruction for Tuple3Instruction<A, B, Base>
impl<A, B, Base> BaseInstruction for Tuple3Instruction<A, B, Base>
Source§impl<A, B, Base> Clone for Tuple3Instruction<A, B, Base>where
A: Instruction<Base = Base> + Clone,
B: Instruction<Base = Base> + Clone,
Base: BaseInstruction + Clone,
impl<A, B, Base> Clone for Tuple3Instruction<A, B, Base>where
A: Instruction<Base = Base> + Clone,
B: Instruction<Base = Base> + Clone,
Base: BaseInstruction + Clone,
Source§fn clone(&self) -> Tuple3Instruction<A, B, Base>
fn clone(&self) -> Tuple3Instruction<A, B, Base>
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl<A, B, Base> Debug for Tuple3Instruction<A, B, Base>where
A: Instruction<Base = Base> + Debug,
B: Instruction<Base = Base> + Debug,
Base: BaseInstruction + Debug,
impl<A, B, Base> Debug for Tuple3Instruction<A, B, Base>where
A: Instruction<Base = Base> + Debug,
B: Instruction<Base = Base> + Debug,
Base: BaseInstruction + Debug,
Source§impl<A, B, Base> Display for Tuple3Instruction<A, B, Base>
impl<A, B, Base> Display for Tuple3Instruction<A, B, Base>
Source§impl<A, B, Base> Instruction for Tuple3Instruction<A, B, Base>
impl<A, B, Base> Instruction for Tuple3Instruction<A, B, Base>
impl<A, B, Base> Copy for Tuple3Instruction<A, B, Base>where
A: Instruction<Base = Base> + Copy,
B: Instruction<Base = Base> + Copy,
Base: BaseInstruction + Copy,
Auto Trait Implementations§
impl<A, B, Base> Freeze for Tuple3Instruction<A, B, Base>
impl<A, B, Base> RefUnwindSafe for Tuple3Instruction<A, B, Base>
impl<A, B, Base> Send for Tuple3Instruction<A, B, Base>
impl<A, B, Base> Sync for Tuple3Instruction<A, B, Base>
impl<A, B, Base> Unpin for Tuple3Instruction<A, B, Base>
impl<A, B, Base> UnwindSafe for Tuple3Instruction<A, B, Base>
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