Skip to main content

SimpleBitOps

Trait SimpleBitOps 

Source
pub trait SimpleBitOps:
    Sized
    + Clear
    + BitOr<Self, Output = Self>
    + BitXor<Self, Output = Self>
    + BitAnd<Self, Output = Self> { }
Expand description

A meta trait for all bit ops.

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§

Source§

impl<T: Sized + Clear + BitOr<Self, Output = Self> + BitXor<Self, Output = Self> + BitAnd<Self, Output = Self>> SimpleBitOps for T