pub trait Inject {
type Primitive;
// Required method
fn new(mode: Mode, value: Self::Primitive) -> Self;
// Provided method
fn constant(value: Self::Primitive) -> Self
where Self: Sized { ... }
}
Expand description
Operations to inject from a primitive form into a circuit environment.
Required Associated Types§
Required Methods§
Provided Methods§
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.