Skip to main content

BitOps

Trait BitOps 

Source
pub trait BitOps:
    Sized
    + BitAnd<Output = Self>
    + BitXor<Output = Self>
    + BitOr<Output = Self>
    + Not<Output = Self>
    + Copy { }
Expand description

A trait for types that support bitwise operations and can be used in the conjugation functions.

Dyn Compatibility§

This trait is not dyn compatible.

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

Implementors§

Source§

impl<T> BitOps for T
where T: BitAnd<Output = T> + BitOr<Output = T> + Not<Output = T> + BitXor<Output = T> + Copy,