trait ReadNumberHelper: Sized {
    const ZERO: Self;

    // Required methods
    fn checked_mul(&self, other: u32) -> Option<Self>;
    fn checked_add(&self, other: u32) -> Option<Self>;
}
🔬This is a nightly-only experimental API. (ip_in_core #108443)

Required Associated Constants§

source

const ZERO: Self

🔬This is a nightly-only experimental API. (ip_in_core #108443)

Required Methods§

source

fn checked_mul(&self, other: u32) -> Option<Self>

🔬This is a nightly-only experimental API. (ip_in_core #108443)
source

fn checked_add(&self, other: u32) -> Option<Self>

🔬This is a nightly-only experimental API. (ip_in_core #108443)

Implementors§

source§

impl ReadNumberHelper for u8

source§

const ZERO: Self = 0u8

source§

impl ReadNumberHelper for u16

source§

const ZERO: Self = 0u16

source§

impl ReadNumberHelper for u32

source§

const ZERO: Self = 0u32