Skip to main content

OperatorSignature

Trait OperatorSignature 

Source
pub trait OperatorSignature {
    type Input0;
    type Input1;
    type Input2;
    type Input3;
    type Output0;
    type Output1;
    type Output2;
    type Output3;
}
Expand description

The trait describing up to 4 inputs and 4 outputs for an operator. Each #[derive(Operator)] implementation will provide a hidden struct implementing these 8 associated types.

Required Associated Types§

Dyn Compatibility§

This trait is dyn compatible.

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

Implementors§