cosmic::cosmic_theme::palette::bool_mask

Trait BitOps

source
pub trait BitOps:
    Sized
    + BitAnd<Output = Self, Output = Self>
    + BitOr<Output = Self, Output = Self>
    + BitXor<Output = Self, Output = Self>
    + Not<Output = Self>
    + for<'a> BitAnd<&'a Self>
    + for<'a> BitOr<&'a Self>
    + for<'a> BitXor<&'a 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: Not<Output = T> + BitOr<Output = T, Output = T> + for<'a> BitAnd<&'a T, Output = T, Output = T> + BitAnd + for<'a> BitOr<&'a T> + BitXor<Output = T, Output = T> + for<'a> BitXor<&'a T>,