Trait Size

Source
pub trait Size:
    Unsigned
    + Num
    + NumCast
    + PartialOrd
    + ToPrimitive
    + Copy { }

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 Size for u32

Source§

impl Size for u64

Source§

impl Size for u128

Source§

impl Size for usize

Implementors§