pub struct CodeAttribute {
pub max_stack: u16,
pub max_locals: u16,
pub code: Vec<u8>,
pub exception_table: Vec<ExceptionTableEntry>,
pub attributes: Vec<CodeAttributeInfo>,
}Expand description
https://docs.oracle.com/javase/specs/jvms/se25/html/jvms-4.html#jvms-4.7.3
Fields§
§max_stack: u16§max_locals: u16§code: Vec<u8>§exception_table: Vec<ExceptionTableEntry>§attributes: Vec<CodeAttributeInfo>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 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for CodeAttribute
impl Debug for CodeAttribute
impl Eq for CodeAttribute
Source§impl PartialEq for CodeAttribute
impl PartialEq for CodeAttribute
Source§fn eq(&self, other: &CodeAttribute) -> bool
fn eq(&self, other: &CodeAttribute) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for CodeAttribute
Auto 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