pub enum StackMapFrame {
Same {
frame_type: u8,
},
SameLocalsOneStack {
frame_type: u8,
stack: VerificationType,
},
SameLocalsOneStackExtended {
offset_delta: u16,
stack: VerificationType,
},
Chop {
frame_type: u8,
offset_delta: u16,
},
SameExtended {
offset_delta: u16,
},
Append {
frame_type: u8,
offset_delta: u16,
locals: Vec<VerificationType>,
},
Full {
offset_delta: u16,
locals: Vec<VerificationType>,
stack: Vec<VerificationType>,
},
}Expand description
One compressed stack-map frame, retained without expansion.
Variants§
Same
Tags 0 through 63.
SameLocalsOneStack
Tags 64 through 127.
SameLocalsOneStackExtended
Tag 247.
Chop
Tags 248 through 250.
Fields
SameExtended
Tag 251.
Append
Tags 252 through 254.
Fields
§
locals: Vec<VerificationType>Appended locals in encoded order.
Full
Tag 255.
Fields
§
locals: Vec<VerificationType>Complete locals in encoded order.
§
stack: Vec<VerificationType>Complete stack in encoded order.
Trait Implementations§
Source§impl Clone for StackMapFrame
impl Clone for StackMapFrame
Source§fn clone(&self) -> StackMapFrame
fn clone(&self) -> StackMapFrame
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 StackMapFrame
impl Debug for StackMapFrame
impl Eq for StackMapFrame
Source§impl PartialEq for StackMapFrame
impl PartialEq for StackMapFrame
impl StructuralPartialEq for StackMapFrame
Auto Trait Implementations§
impl Freeze for StackMapFrame
impl RefUnwindSafe for StackMapFrame
impl Send for StackMapFrame
impl Sync for StackMapFrame
impl Unpin for StackMapFrame
impl UnsafeUnpin for StackMapFrame
impl UnwindSafe for StackMapFrame
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