pub struct Assembler { /* private fields */ }Implementations§
Source§impl Assembler
impl Assembler
pub fn new() -> Assembler
pub fn assemble_string<S, O>( &mut self, code: S, offset: O, ) -> Result<Vec<CodeSegment>, AssemblerError>
pub fn assemble_file<P, O>( &mut self, path: P, offset: O, ) -> Result<Vec<CodeSegment>, AssemblerError>
Auto Trait Implementations§
impl Freeze for Assembler
impl RefUnwindSafe for Assembler
impl Send for Assembler
impl Sync for Assembler
impl Unpin for Assembler
impl UnwindSafe for Assembler
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