pub struct CodeBodyNode {
pub instructions: Vec<InsnNode>,
pub exception_table: Vec<ExceptionTable>,
pub local_variables: Vec<LocalVariableNode>,
pub max_stack: u16,
pub max_locals: u16,
pub type_annotations: Vec<TypeAnnotationNode>,
pub stack_map_table: Vec<StackMapFrame>,
pub unknown_attributes: Vec<UnknownAttribute>,
}
Fields§
§instructions: Vec<InsnNode>
§exception_table: Vec<ExceptionTable>
§local_variables: Vec<LocalVariableNode>
§max_stack: u16
§max_locals: u16
§type_annotations: Vec<TypeAnnotationNode>
it stores type annotations which located in local variable declarations, exception parameter declarations, expressions etc.
stack_map_table: Vec<StackMapFrame>
§unknown_attributes: Vec<UnknownAttribute>
The non-standard attributes of this code body. or didn’t implement currently.
Trait Implementations§
Source§impl Clone for CodeBodyNode
impl Clone for CodeBodyNode
Source§fn clone(&self) -> CodeBodyNode
fn clone(&self) -> CodeBodyNode
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 CodeBodyNode
impl RefUnwindSafe for CodeBodyNode
impl Send for CodeBodyNode
impl Sync for CodeBodyNode
impl Unpin for CodeBodyNode
impl UnwindSafe for CodeBodyNode
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