pub struct Block { /* private fields */ }Implementations§
Source§impl Block
impl Block
pub fn new() -> Self
pub fn set_offset(&mut self, offset: Address)
pub fn literal_byte(&mut self, byte: u8)
pub fn literal_offset_le(&mut self, offset: Address)
pub fn literal_address_le(&mut self, offset: Address)
pub fn label_offset_le<S: AsRef<str>>(&mut self, label: S)
pub fn label_offset_lo<S: AsRef<str>>(&mut self, label: S)
pub fn label_offset_hi<S: AsRef<str>>(&mut self, label: S)
pub fn label_relative_offset<S: AsRef<str>>(&mut self, label: S)
pub fn label<S: AsRef<str>>(&mut self, s: S)
pub fn inst<I: AssemblerInstruction, A: ArgOperand<Operand = <I::AddressingMode as Trait>::Operand>>( &mut self, instruction: I, arg: A, )
pub fn infinite_loop(&mut self)
pub fn assemble( &self, base: Address, size: usize, buffer: &mut Vec<u8>, ) -> Result<AssembledBlock, Error>
Auto Trait Implementations§
impl Freeze for Block
impl RefUnwindSafe for Block
impl Send for Block
impl Sync for Block
impl Unpin for Block
impl UnwindSafe for Block
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