pub(crate) struct InstructionFormatBuilder(InstructionFormat);
Tuple Fields§
§0: InstructionFormat
Implementations§
Source§impl InstructionFormatBuilder
impl InstructionFormatBuilder
pub fn new(name: &'static str) -> Self
pub fn value(self) -> Self
pub fn varargs(self) -> Self
pub fn block(self) -> Self
pub fn imm(self, operand_kind: &OperandKind) -> Self
pub fn typevar_operand(self, operand_index: usize) -> Self
pub fn build(self) -> Rc<InstructionFormat>
Auto Trait Implementations§
impl Freeze for InstructionFormatBuilder
impl !RefUnwindSafe for InstructionFormatBuilder
impl !Send for InstructionFormatBuilder
impl !Sync for InstructionFormatBuilder
impl Unpin for InstructionFormatBuilder
impl !UnwindSafe for InstructionFormatBuilder
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