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