NonZeroableBase

Trait NonZeroableBase 

Source
pub trait NonZeroableBase: Copy {
    type NonZeroType: NonZero<Number = Self>;
}
Expand description

Required Associated Types§

Source

type NonZeroType: NonZero<Number = Self>

The non-zero type.

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.

Implementations on Foreign Types§

Source§

impl NonZeroable for u8

Source§

impl NonZeroable for u16

Source§

impl NonZeroable for u32

Source§

impl NonZeroable for u64

Source§

impl NonZeroable for u128

Source§

impl NonZeroable for usize

Implementors§