wiwi::num

Trait NegUnchecked

Source
pub trait NegUnchecked
where Self: Sealed,
{ type Output; // Required method unsafe fn neg_unchecked(self) -> Self::Output; }

Required Associated Types§

Required Methods§

Source

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.

Implementors§