pub enum Payload {
Packed {
first_key: i32,
targets: Vec<i32>,
},
Sparse {
pairs: Vec<(i32, i32)>,
},
ArrayData {
elem_width: u16,
size: u32,
data: Vec<u8>,
},
}Variants§
Packed
ident 0x0100: targets are offsets RELATIVE to the switch insn.
Sparse
ident 0x0200.
ArrayData
ident 0x0300.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Payload
impl RefUnwindSafe for Payload
impl Send for Payload
impl Sync for Payload
impl Unpin for Payload
impl UnsafeUnpin for Payload
impl UnwindSafe for Payload
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