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>