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> NonZero for NInt<U>
where U: Unsigned + NonZero,

source§

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

source§

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