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: ConstraintKindThe kind of constraint.
regclass: RegClassThe register class of the operand.
This applies to all kinds of constraints, but with slightly different meaning.
Implementations
Trait Implementations
impl Debug for OperandConstraint[src]
impl Debug for OperandConstraint[src]impl PartialEq<OperandConstraint> for OperandConstraint[src]
impl PartialEq<OperandConstraint> for OperandConstraint[src]fn eq(&self, other: &OperandConstraint) -> bool[src]
fn eq(&self, other: &OperandConstraint) -> bool[src]This method tests for self and other values to be equal, and is used
by ==. Read more
fn ne(&self, other: &OperandConstraint) -> bool[src]
fn ne(&self, other: &OperandConstraint) -> bool[src]This method tests for !=.