konst_kernel::step_kk

Trait Step

Source
pub trait Step: HasTypeWitness<StepWitness<Self>> + Copy {
    const MIN_VAL: Self;
    const MAX_VAL: Self;
}

Required Associated Constants§

Source

const MIN_VAL: Self

The minimum value of the type.

Source

const MAX_VAL: Self

The maximum value of the type.

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 Step for char

Source§

const MIN_VAL: Self = '\0'

Source§

const MAX_VAL: Self = '\u{10ffff}'

Source§

impl Step for i8

Source§

const MIN_VAL: Self = -128i8

Source§

const MAX_VAL: Self = 127i8

Source§

impl Step for i16

Source§

const MIN_VAL: Self = -32_768i16

Source§

const MAX_VAL: Self = 32_767i16

Source§

impl Step for i32

Source§

const MIN_VAL: Self = -2_147_483_648i32

Source§

const MAX_VAL: Self = 2_147_483_647i32

Source§

impl Step for i64

Source§

const MIN_VAL: Self = -9_223_372_036_854_775_808i64

Source§

const MAX_VAL: Self = 9_223_372_036_854_775_807i64

Source§

impl Step for i128

Source§

const MIN_VAL: Self = -170_141_183_460_469_231_731_687_303_715_884_105_728i128

Source§

const MAX_VAL: Self = 170_141_183_460_469_231_731_687_303_715_884_105_727i128

Source§

impl Step for isize

Source§

const MIN_VAL: Self = -9_223_372_036_854_775_808isize

Source§

const MAX_VAL: Self = 9_223_372_036_854_775_807isize

Source§

impl Step for u8

Source§

const MIN_VAL: Self = 0u8

Source§

const MAX_VAL: Self = 255u8

Source§

impl Step for u16

Source§

const MIN_VAL: Self = 0u16

Source§

const MAX_VAL: Self = 65_535u16

Source§

impl Step for u32

Source§

const MIN_VAL: Self = 0u32

Source§

const MAX_VAL: Self = 4_294_967_295u32

Source§

impl Step for u64

Source§

const MIN_VAL: Self = 0u64

Source§

const MAX_VAL: Self = 18_446_744_073_709_551_615u64

Source§

impl Step for u128

Source§

const MIN_VAL: Self = 0u128

Source§

const MAX_VAL: Self = 340_282_366_920_938_463_463_374_607_431_768_211_455u128

Source§

impl Step for usize

Source§

const MIN_VAL: Self = 0usize

Source§

const MAX_VAL: Self = 18_446_744_073_709_551_615usize

Implementors§