devela::all

Type Alias NonExtremeU16

Source
pub type NonExtremeU16 = NonValueU16<{ u16::MAX }>;
Expand description

An unsigned integer that is known not to equal its most extreme value (MAX).

Unlike the NonValue* types in general, this type alias implements the Default and ConstDefault traits.

Aliased Type§

struct NonExtremeU16(/* private fields */);

Trait Implementations§

Source§

impl ConstDefault for NonExtremeU16

Source§

const DEFAULT: Self

§Features

Makes use of the unsafe_niche feature if enabled.

Source§

impl Default for NonExtremeU16

Source§

fn default() -> Self

§Features

Makes use of the unsafe_niche feature if enabled.