Trait palette::bool_mask::BitOps

source ·
pub trait BitOps:
    Sized
    + BitAnd<Output = Self>
    + BitOr<Output = Self>
    + BitXor<Output = Self>
    + Not<Output = Self>
    + for<'a> BitAnd<&'a Self, Output = Self>
    + for<'a> BitOr<&'a Self, Output = Self>
    + for<'a> BitXor<&'a Self, Output = Self> { }
Expand description

A helper trait that collects bit traits under one name.

Object Safety§

This trait is not object safe.

Implementors§

source§

impl<T> BitOps for T
where T: Sized + BitAnd<Output = Self> + BitOr<Output = Self> + BitXor<Output = Self> + Not<Output = Self> + for<'a> BitAnd<&'a Self, Output = Self> + for<'a> BitOr<&'a Self, Output = Self> + for<'a> BitXor<&'a Self, Output = Self>,