pub struct CodeAttribute {
pub max_stack: u16,
pub max_locals: u16,
pub code: Vec<u8>,
pub instructions: Vec<Insn>,
pub insn_nodes: Vec<AbstractInsnNode>,
pub exception_table: Vec<ExceptionTableEntry>,
pub try_catch_blocks: Vec<TryCatchBlockNode>,
pub attributes: Vec<AttributeInfo>,
}Fields§
§max_stack: u16§max_locals: u16§code: Vec<u8>§instructions: Vec<Insn>§insn_nodes: Vec<AbstractInsnNode>§exception_table: Vec<ExceptionTableEntry>§try_catch_blocks: Vec<TryCatchBlockNode>§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 duplicate 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 UnsafeUnpin 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