Skip to main content

OneOpdInterface

Trait OneOpdInterface 

Source
pub trait OneOpdInterface: Op {
    // Provided methods
    fn get_operand(&self, ctx: &Context) -> Value { ... }
    fn operand_type(&self, ctx: &Context) -> TypeHandle { ... }
}
Expand description

An Op having exactly one operand.

Provided Methods§

Source

fn get_operand(&self, ctx: &Context) -> Value

Get the single operand used by this Op.

Source

fn operand_type(&self, ctx: &Context) -> TypeHandle

Get the type of the single operand used by this Op.

Trait Implementations§

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§

Source§

impl OneOpdInterface for AllOp

Source§

impl OneOpdInterface for AnyOp

Source§

impl OneOpdInterface for ArcCosOp

Source§

impl OneOpdInterface for ArcCoshOp

Source§

impl OneOpdInterface for ArcSinOp

Source§

impl OneOpdInterface for ArcSinhOp

Source§

impl OneOpdInterface for ArcTanOp

Source§

impl OneOpdInterface for ArcTanhOp

Source§

impl OneOpdInterface for ArriveAndWaitOp

Source§

impl OneOpdInterface for ArriveOp

Source§

impl OneOpdInterface for AtomicLoadOp

Source§

impl OneOpdInterface for AtomicUniformLoadOp

Source§

impl OneOpdInterface for BallotOp

Source§

impl OneOpdInterface for BitwiseNotOp

Source§

impl OneOpdInterface for BoolNotOp

Source§

impl OneOpdInterface for BroadcastOp

Source§

impl OneOpdInterface for CAbsOp

Source§

impl OneOpdInterface for CConjOp

Source§

impl OneOpdInterface for CImagOp

Source§

impl OneOpdInterface for CRealOp

Source§

impl OneOpdInterface for cubecl_ir::dialect::general::CastOp

Source§

impl OneOpdInterface for cubecl_ir::dialect::ssa_matrix::CastOp

Source§

impl OneOpdInterface for CeilOp

Source§

impl OneOpdInterface for CommitCopyAsyncOp

Source§

impl OneOpdInterface for CompositeExtractOp

Source§

impl OneOpdInterface for CopyOp

Source§

impl OneOpdInterface for CosOp

Source§

impl OneOpdInterface for CoshOp

Source§

impl OneOpdInterface for CountOnesOp

Source§

impl OneOpdInterface for DegreesOp

Source§

impl OneOpdInterface for ErfOp

Source§

impl OneOpdInterface for ExclusiveFProdOp

Source§

impl OneOpdInterface for ExclusiveFSumOp

Source§

impl OneOpdInterface for ExclusiveIProdOp

Source§

impl OneOpdInterface for ExclusiveISumOp

Source§

impl OneOpdInterface for ExpOp

Source§

impl OneOpdInterface for Expm1Op

Source§

impl OneOpdInterface for FAbsOp

Source§

impl OneOpdInterface for FMaxOp

Source§

impl OneOpdInterface for FMinOp

Source§

impl OneOpdInterface for FNegOp

Source§

impl OneOpdInterface for FProdOp

Source§

impl OneOpdInterface for cubecl_ir::dialect::plane::FSumOp

Source§

impl OneOpdInterface for cubecl_ir::dialect::vector::FSumOp

Source§

impl OneOpdInterface for FillOp

Source§

impl OneOpdInterface for FindFirstSetOp

Source§

impl OneOpdInterface for FloorOp

Source§

impl OneOpdInterface for FreeOp

Source§

impl OneOpdInterface for IProdOp

Source§

impl OneOpdInterface for cubecl_ir::dialect::plane::ISumOp

Source§

impl OneOpdInterface for cubecl_ir::dialect::vector::ISumOp

Source§

impl OneOpdInterface for InclusiveFProdOp

Source§

impl OneOpdInterface for InclusiveFSumOp

Source§

impl OneOpdInterface for InclusiveIProdOp

Source§

impl OneOpdInterface for InclusiveISumOp

Source§

impl OneOpdInterface for IsInfOp

Source§

impl OneOpdInterface for IsNanOp

Source§

impl OneOpdInterface for LeadingZerosBitsOp

Source§

impl OneOpdInterface for LoadOp

Source§

impl OneOpdInterface for Log1pOp

Source§

impl OneOpdInterface for LogOp

Source§

impl OneOpdInterface for MagnitudeOp

Source§

impl OneOpdInterface for NormalizeOp

Source§

impl OneOpdInterface for RadiansOp

Source§

impl OneOpdInterface for RecipOp

Source§

impl OneOpdInterface for ReinterpretCastOp

Source§

impl OneOpdInterface for ReverseBitsOp

Source§

impl OneOpdInterface for RoundOp

Source§

impl OneOpdInterface for RsqrtOp

Source§

impl OneOpdInterface for SAbsOp

Source§

impl OneOpdInterface for SMaxOp

Source§

impl OneOpdInterface for SMinOp

Source§

impl OneOpdInterface for SNegOp

Source§

impl OneOpdInterface for ShapeOp

Source§

impl OneOpdInterface for SinOp

Source§

impl OneOpdInterface for SinhOp

Source§

impl OneOpdInterface for SqrtOp

Source§

impl OneOpdInterface for StrideOp

Source§

impl OneOpdInterface for TanOp

Source§

impl OneOpdInterface for TanhOp

Source§

impl OneOpdInterface for TrailingZerosBitsOp

Source§

impl OneOpdInterface for TruncOp

Source§

impl OneOpdInterface for UMaxOp

Source§

impl OneOpdInterface for UMinOp

Source§

impl OneOpdInterface for UniformLoadOp

Source§

impl OneOpdInterface for VectorBroadcastOp