pub enum Layout {
Fixed(&'static [OperandKind]),
InlineString,
Switch,
NamedArgTable,
}Expand description
How an instruction’s operands are laid out.
Variants§
Fixed(&'static [OperandKind])
A fixed sequence of operands.
InlineString
pushstri: a 16-bit length followed by that many bytes of text.
Switch
switch: a 16-bit case count, that many cases of a five-byte value
and a branch offset, then a default branch offset.
NamedArgTable
namedargtab: a 16-bit byte count followed by a table of argument names.
Trait Implementations§
impl Copy for Layout
impl Eq for Layout
impl StructuralPartialEq for Layout
Auto Trait Implementations§
impl Forget for Layout
impl Freeze for Layoutwhere
&'static [OperandKind]: Freeze,
impl Move for Layout
impl RefUnwindSafe for Layout
impl Send for Layoutwhere
&'static [OperandKind]: Send,
impl Sync for Layout
impl Unpin for Layoutwhere
&'static [OperandKind]: Unpin,
impl UnsafeUnpin for Layoutwhere
&'static [OperandKind]: UnsafeUnpin,
impl UnwindSafe for Layoutwhere
&'static [OperandKind]: UnwindSafe,
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