Enum quil_rs::instruction::InstructionRole
source · pub enum InstructionRole {
ClassicalCompute,
ControlFlow,
ProgramComposition,
RFControl,
}
Variants§
Trait Implementations§
source§impl Clone for InstructionRole
impl Clone for InstructionRole
source§fn clone(&self) -> InstructionRole
fn clone(&self) -> InstructionRole
Returns a copy 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 Debug for InstructionRole
impl Debug for InstructionRole
source§impl From<&Instruction> for InstructionRole
impl From<&Instruction> for InstructionRole
source§fn from(instruction: &Instruction) -> Self
fn from(instruction: &Instruction) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl RefUnwindSafe for InstructionRole
impl Send for InstructionRole
impl Sync for InstructionRole
impl Unpin for InstructionRole
impl UnwindSafe for InstructionRole
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