pub struct Y86Assembler { /* private fields */ }
Expand description
A struct to hold bytes read from y86 bytes is a vector holding the bytes
Implementations§
Source§impl Y86Assembler
impl Y86Assembler
Sourcepub fn from_file(file_name: String) -> Result<Self, Box<dyn Error>>
pub fn from_file(file_name: String) -> Result<Self, Box<dyn Error>>
file_name: a string holding the file name to read reads a Y86 file and generates a Y86Assembler with the machine code content
Auto Trait Implementations§
impl Freeze for Y86Assembler
impl RefUnwindSafe for Y86Assembler
impl Send for Y86Assembler
impl Sync for Y86Assembler
impl Unpin for Y86Assembler
impl UnwindSafe for Y86Assembler
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