Struct classfile_parser::attribute_info::CodeAttribute
source · 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 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