pub struct LookupSwitchData {
pub padding: u8,
pub default_offset: i32,
pub pairs: Vec<(i32, i32)>,
}Expand description
Operand data for the lookupswitch instruction.
https://docs.oracle.com/javase/specs/jvms/se25/html/jvms-6.html#jvms-6.5.lookupswitch
Fields§
§padding: u8§default_offset: i32§pairs: Vec<(i32, i32)>Trait Implementations§
Source§impl Clone for LookupSwitchData
impl Clone for LookupSwitchData
Source§fn clone(&self) -> LookupSwitchData
fn clone(&self) -> LookupSwitchData
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 LookupSwitchData
impl Debug for LookupSwitchData
impl Eq for LookupSwitchData
Source§impl PartialEq for LookupSwitchData
impl PartialEq for LookupSwitchData
Source§fn eq(&self, other: &LookupSwitchData) -> bool
fn eq(&self, other: &LookupSwitchData) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for LookupSwitchData
Auto Trait Implementations§
impl Freeze for LookupSwitchData
impl RefUnwindSafe for LookupSwitchData
impl Send for LookupSwitchData
impl Sync for LookupSwitchData
impl Unpin for LookupSwitchData
impl UnsafeUnpin for LookupSwitchData
impl UnwindSafe for LookupSwitchData
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