Struct spirq::parse::instr::InstructionBuilder
source · pub struct InstructionBuilder { /* private fields */ }
Implementations§
source§impl InstructionBuilder
impl InstructionBuilder
pub fn new(op: Op) -> InstructionBuilder
pub fn push(self, x: u32) -> InstructionBuilder
pub fn push_list(self, x: &[u32]) -> InstructionBuilder
pub fn push_str(self, x: &str) -> InstructionBuilder
pub fn build(self) -> Instruction
Auto Trait Implementations§
impl Freeze for InstructionBuilder
impl RefUnwindSafe for InstructionBuilder
impl Send for InstructionBuilder
impl Sync for InstructionBuilder
impl Unpin for InstructionBuilder
impl UnwindSafe for InstructionBuilder
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