pub trait LaneOp {
type Out;
// Required method
fn call<const N: usize>(self) -> Self::Out;
}Expand description
A computation that is generic over the lane width, for for_lanes.
This is a trait rather than a closure because a closure cannot be generic over a const parameter.
Required Associated Types§
Required Methods§
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".