pub trait NegUncheckedwhere
Self: Sealed,{
type Output;
// Required method
unsafe fn neg_unchecked(self) -> Self::Output;
}
Required Associated Types§
Required Methods§
Sourceunsafe fn neg_unchecked(self) -> Self::Output
unsafe fn neg_unchecked(self) -> Self::Output
§Safety
TODO (also remove me from here (definition) and write it in the macro invocation)
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.