pub trait SquareMasked<Mask>: Square {
// Required methods
fn square_c(self, mask: Mask) -> Self::Output;
fn square_m(self, src: Self, mask: Mask) -> Self::Output;
fn square_z(self, mask: Mask) -> Self::Output;
}Expand description
Masked variants of the Square trait.
Required Methods§
Sourcefn square_c(self, mask: Mask) -> Self::Output
fn square_c(self, mask: Mask) -> Self::Output
Computes Square where mask is true, does nothing where false.
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".