DivideByZero

Trait DivideByZero 

Source
pub trait DivideByZero<Rhs>
where Self: Type + Sized + Copy, Rhs: Type + Sized + Copy + Zero,
{ // Provided method fn divide_by_zero(self) -> Operation<Self, Rhs> { ... } }

Provided Methods§

Source

fn divide_by_zero(self) -> Operation<Self, Rhs>

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§

Source§

impl<R, L> DivideByZero<R> for L
where L: Type + Sized + Copy, R: Type + Sized + Copy + Zero,