pub enum ExtraKind {
None,
Imm,
Symbol,
IntPred,
FloatPred,
Mem,
Rmw,
Order,
Targets,
Call,
Switch,
Asm,
}Expand description
Which of Extra’s shapes an instruction carries.
The same list of names, without any of the payloads, so that a question about an opcode can be answered without an instruction to look at.
Variants§
None
Nothing.
Imm
A constant.
Symbol
A name.
IntPred
An integer comparison predicate.
FloatPred
A floating point comparison predicate.
Mem
An access.
Rmw
An atomic read-modify-write.
Order
A barrier’s ordering.
Targets
Branch targets.
Call
A call.
Switch
A switch.
Asm
Inline assembly.
Implementations§
Trait Implementations§
impl Copy for ExtraKind
impl Eq for ExtraKind
impl StructuralPartialEq for ExtraKind
Auto Trait Implementations§
impl Freeze for ExtraKind
impl RefUnwindSafe for ExtraKind
impl Send for ExtraKind
impl Sync for ExtraKind
impl Unpin for ExtraKind
impl UnsafeUnpin for ExtraKind
impl UnwindSafe for ExtraKind
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