Skip to main content

SameOperandsType

Trait SameOperandsType 

Source
pub trait SameOperandsType: Op {
    // Provided method
    fn common_operand_type(&self, ctx: &Context) -> Option<TypeHandle> { ... }
}
Expand description

An Op with all operands having the same type.

Provided Methods§

Source

fn common_operand_type(&self, ctx: &Context) -> Option<TypeHandle>

Get the common type of the operands.

Trait Implementations§

Implementors§