foyer_common::bits

Trait Unsigned

source
pub trait Unsigned:
    Add<Output = Self>
    + Sub<Output = Self>
    + BitAnd<Output = Self>
    + Not<Output = Self>
    + Sized
    + From<u8>
    + Eq
    + Debug
    + Display
    + Clone
    + Copy { }
Expand description

An unsigned trait that used by the utils.

Object Safety§

This trait is not object safe.

Implementors§

source§

impl<U: Add<Output = Self> + Sub<Output = Self> + BitAnd<Output = Self> + Not<Output = Self> + Sized + From<u8> + Eq + Debug + Display + Clone + Copy> Unsigned for U