pub trait Magnitude: IntegerType + ToPrimitive + Unsigned { }
Expand description

Trait for integers that can be used as an unsigned magnitude. Magnitudes are either used to represent an integer exponent or the right operand in integer shift operations.

Object Safety§

This trait is not object safe.

Implementations on Foreign Types§

source§

impl Magnitude for u8

source§

impl Magnitude for u16

source§

impl Magnitude for u32

Implementors§