Skip to main content

Module num

Module num 

Source
Expand description

Additional numerical features for the kernel.

Re-exports§

pub use bounded::*;

Modules§

bounded
Implementation of Bounded, a wrapper around integer types limiting the number of bits usable for value representation.
casts
Helpers for performing lossless integer casts.

Macros§

cv
Creates a constant value (“cv”) from an integer constant expression, with validity checked at compile time.

Enums§

Signed
Designates signed primitive types.
Unsigned
Designates unsigned primitive types.

Traits§

FromConst
Types that can be created from an integer constant expression validated at compile time.
Integer
Describes core properties of integer types.