pub trait NegMasked<Mask>: Neg {
// Required methods
fn neg_c(self, mask: Mask) -> Self::Output;
fn neg_m(self, src: Self, mask: Mask) -> Self::Output;
fn neg_z(self, mask: Mask) -> Self::Output;
}Expand description
Masked variants of the Neg trait.
Required Methods§
Sourcefn neg_c(self, mask: Mask) -> Self::Output
fn neg_c(self, mask: Mask) -> Self::Output
Computes Neg 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".