pub trait TryNeg {
type Output;
type Err;
// Required method
fn try_neg(self) -> Result<Self::Output, Self::Err>;
}Expand description
Fallible negation trait.
pub trait TryNeg {
type Output;
type Err;
// Required method
fn try_neg(self) -> Result<Self::Output, Self::Err>;
}Fallible negation trait.