pub enum CoreNoMatchHint {
MemoryMayRequireExplicitZeroOffset,
RegisterWidthMismatch,
OperandMissing {
index: u8,
expected: Box<[OperandConstraintKind]>,
},
OperandKindMismatch {
index: u8,
expected: Box<[OperandConstraintKind]>,
got: OperandShapeTag,
},
ShapeMismatch {
expected: Box<[OperandConstraintSignature]>,
expected_additional: u16,
got: OperandShapeSignature,
},
}Expand description
Structured core mismatch hint.
Variants§
MemoryMayRequireExplicitZeroOffset
Memory addressing might need explicit #0.
RegisterWidthMismatch
Register width mix likely mismatched (W vs X).
OperandMissing
One trailing operand is missing.
Fields
§
expected: Box<[OperandConstraintKind]>Expected kind candidates for this slot.
OperandKindMismatch
One operand has an incompatible kind.
Fields
§
expected: Box<[OperandConstraintKind]>Expected kind candidates for this slot.
§
got: OperandShapeTagActual shape category for the slot.
ShapeMismatch
Generic shape mismatch with expected/got signatures.
Fields
§
expected: Box<[OperandConstraintSignature]>Up to the first few expected signatures.
§
got: OperandShapeSignatureActual user-provided operand shape.
Trait Implementations§
Source§impl Clone for CoreNoMatchHint
impl Clone for CoreNoMatchHint
Source§fn clone(&self) -> CoreNoMatchHint
fn clone(&self) -> CoreNoMatchHint
Returns a duplicate of the value. Read more
1.0.0 · 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 CoreNoMatchHint
impl Debug for CoreNoMatchHint
Source§impl PartialEq for CoreNoMatchHint
impl PartialEq for CoreNoMatchHint
impl Eq for CoreNoMatchHint
impl StructuralPartialEq for CoreNoMatchHint
Auto Trait Implementations§
impl Freeze for CoreNoMatchHint
impl RefUnwindSafe for CoreNoMatchHint
impl Send for CoreNoMatchHint
impl Sync for CoreNoMatchHint
impl Unpin for CoreNoMatchHint
impl UnsafeUnpin for CoreNoMatchHint
impl UnwindSafe for CoreNoMatchHint
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