pub trait SameOperandsType: Op + AtLeastNOpdsInterface<1> {
// Provided method
fn operand_type(&self, ctx: &Context) -> Ptr<TypeObj> { ... }
}Expand description
An Op with at least one operand, and them all having the same type.
Provided Methods§
Sourcefn operand_type(&self, ctx: &Context) -> Ptr<TypeObj>
fn operand_type(&self, ctx: &Context) -> Ptr<TypeObj>
Get the common type of the operands.