pub struct CodeAttribute {
pub max_stack: u16,
pub max_locals: u16,
pub code_length: u32,
pub code: Vec<u8>,
pub exception_table_length: u16,
pub exception_table: Vec<ExceptionEntry>,
pub attributes_count: u16,
pub attributes: Vec<AttributeInfo>,
}
Fields§
§max_stack: u16
§max_locals: u16
§code_length: u32
§code: Vec<u8>
§exception_table_length: u16
§exception_table: Vec<ExceptionEntry>
§attributes_count: u16
§attributes: Vec<AttributeInfo>
Trait Implementations§
Source§impl Clone for CodeAttribute
impl Clone for CodeAttribute
Source§fn clone(&self) -> CodeAttribute
fn clone(&self) -> CodeAttribute
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 CodeAttribute
impl RefUnwindSafe for CodeAttribute
impl Send for CodeAttribute
impl Sync for CodeAttribute
impl Unpin for CodeAttribute
impl UnwindSafe for CodeAttribute
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