Trait wiwi::num::Sub

source ·
pub trait Sub: Base + Sub<Self, Output = Self> {
    // Provided method
    fn sub_regular(self, rhs: Self) -> Self { ... }
}
Expand description

Subtraction

Provided Methods§

source

fn sub_regular(self, rhs: Self) -> Self

Performs plain subtraction

It does the same as what the - operator does

§Examples

TODO

Object Safety§

This trait is not object safe.

Implementations on Foreign Types§

source§

impl Sub for f32

source§

impl Sub for f64

source§

impl Sub for i8

source§

impl Sub for i16

source§

impl Sub for i32

source§

impl Sub for i64

source§

impl Sub for i128

source§

impl Sub for isize

source§

impl Sub for u8

source§

impl Sub for u16

source§

impl Sub for u32

source§

impl Sub for u64

source§

impl Sub for u128

source§

impl Sub for usize

Implementors§