wiwi::num

Trait Sub

Source
pub trait Sub<R>
where Self: Sealed, R: Sealed,
{ type Output; // Required method fn sub(self, rhs: R) -> Self::Output; }

Required Associated Types§

Required Methods§

Source

fn sub(self, rhs: R) -> Self::Output

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.

Implementations on Foreign Types§

Source§

impl Sub<u8> for u8

Source§

type Output = u8

Source§

fn sub(self, rhs: u8) -> u8

Source§

impl Sub<u16> for u8

Source§

type Output = u16

Source§

fn sub(self, rhs: u16) -> u16

Source§

impl Sub<u32> for u8

Source§

type Output = u32

Source§

fn sub(self, rhs: u32) -> u32

Source§

impl Sub<u64> for u8

Source§

type Output = u64

Source§

fn sub(self, rhs: u64) -> u64

Source§

impl Sub<u128> for u8

Source§

type Output = u128

Source§

fn sub(self, rhs: u128) -> u128

Source§

impl Sub<usize> for u8

Source§

type Output = usize

Source§

fn sub(self, rhs: usize) -> usize

Implementors§