pub struct ByteCodeFormat { /* private fields */ }
Implementations§
Source§impl ByteCodeFormat
impl ByteCodeFormat
pub fn new(name: String, formats: Vec<FormatUnit>) -> Self
pub fn set_instruction(&mut self, instruction: Vec<u8>)
pub fn get_size(&self) -> usize
pub fn parse( &self, instructions: &Vec<u8>, offset: usize, region: &Region, source: &[u8], literal_array_map: &HashMap<usize, String>, ) -> usize
Trait Implementations§
Source§impl Clone for ByteCodeFormat
impl Clone for ByteCodeFormat
Source§fn clone(&self) -> ByteCodeFormat
fn clone(&self) -> ByteCodeFormat
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreAuto Trait Implementations§
impl Freeze for ByteCodeFormat
impl RefUnwindSafe for ByteCodeFormat
impl Send for ByteCodeFormat
impl Sync for ByteCodeFormat
impl Unpin for ByteCodeFormat
impl UnwindSafe for ByteCodeFormat
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)