pub trait HasNeg<O, A> {
// Required method
fn neg(operand_type: O) -> (O, A);
}
Expand description
Vars support this unary operator when the underlying signature has the appropriate operation.
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.