pub trait ClipOp<T, S: Shape = (), D: Device = Self>: Device {
// Required method
fn clip(
&self,
x: &Matrix<'_, T, D, S>,
min: T,
max: T,
) -> Matrix<'_, T, Self, S>;
}Required 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.