typenum::marker_traits

Trait NonZero

Source
pub trait NonZero: Sealed { }
Expand description

A marker trait to designate that a type is not zero. All number types in this crate implement NonZero except B0, U0, and Z0.

Implementors§

Source§

impl NonZero for B1

Source§

impl<U: Unsigned + NonZero> NonZero for NInt<U>

Source§

impl<U: Unsigned + NonZero> NonZero for PInt<U>

Source§

impl<U: Unsigned, B: Bit> NonZero for UInt<U, B>