Positive

Trait Positive 

Source
pub trait Positive:
    Unsigned
    + NonZero
    + Debug
    + Eq
    + Send {
    const SIZE: usize;
}
Expand description

A trait to represent positive nonzero unsigned integer typenum constants.

Required Associated Constants§

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§

Source§

impl<T: Unsigned + NonZero + Debug + Eq + Send> Positive for T

Source§

const SIZE: usize = <T as Unsigned>::USIZE