pub struct OpcodeMetadata {
pub opcode: Opcode,
pub mnemonic: &'static str,
pub operands: &'static str,
pub width: &'static str,
pub control: &'static str,
pub constant_pool: &'static str,
pub since: &'static str,
pub until: &'static str,
}Expand description
Generated metadata for one JVM opcode byte.
Fields§
§opcode: OpcodeStable opcode identity.
mnemonic: &'static strJVM mnemonic, or a stable reserved_* name for an unassigned byte.
operands: &'static strDeclarative operand layout.
width: &'static strEncoded width in bytes, or variable/invalid.
control: &'static strControl-flow category.
constant_pool: &'static strAdmitted constant-pool category, or none.
since: &'static strEarliest admitted classfile version.
until: &'static strLast admitted classfile version, or unbounded.
Trait Implementations§
Source§impl Clone for OpcodeMetadata
impl Clone for OpcodeMetadata
Source§fn clone(&self) -> OpcodeMetadata
fn clone(&self) -> OpcodeMetadata
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 moreimpl Copy for OpcodeMetadata
Source§impl Debug for OpcodeMetadata
impl Debug for OpcodeMetadata
impl Eq for OpcodeMetadata
Source§impl PartialEq for OpcodeMetadata
impl PartialEq for OpcodeMetadata
impl StructuralPartialEq for OpcodeMetadata
Auto Trait Implementations§
impl Freeze for OpcodeMetadata
impl RefUnwindSafe for OpcodeMetadata
impl Send for OpcodeMetadata
impl Sync for OpcodeMetadata
impl Unpin for OpcodeMetadata
impl UnsafeUnpin for OpcodeMetadata
impl UnwindSafe for OpcodeMetadata
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