pub struct Binary { /* private fields */ }Expand description
A Chip-8 binary
Implementations§
Source§impl Binary
impl Binary
Sourcepub fn add_instruction(
&mut self,
instr: &Instruction,
) -> Result<(), BinaryError>
pub fn add_instruction( &mut self, instr: &Instruction, ) -> Result<(), BinaryError>
Sourcepub fn write_to_file(&mut self) -> Result<usize, BinaryError>
pub fn write_to_file(&mut self) -> Result<usize, BinaryError>
Auto Trait Implementations§
impl Freeze for Binary
impl RefUnwindSafe for Binary
impl Send for Binary
impl Sync for Binary
impl Unpin for Binary
impl UnwindSafe for Binary
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