Struct cranelift_codegen::isa::OperandConstraint [−][src]
pub struct OperandConstraint { pub kind: ConstraintKind, pub regclass: RegClass, }
Expand description
Register constraint for a single value operand or instruction result.
Fields
kind: ConstraintKind
The kind of constraint.
regclass: RegClass
The register class of the operand.
This applies to all kinds of constraints, but with slightly different meaning.
Implementations
Trait Implementations
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.