BitTestAll

Trait BitTestAll 

Source
pub trait BitTestAll {
    // Required method
    fn test_all(&self) -> bool;
}
Expand description

Test all bit. This trait should be implemented for most bit-set.

Required Methods§

Source

fn test_all(&self) -> bool

Tests if all bits are set.

Implementations on Foreign Types§

Source§

impl BitTestAll for bool

Source§

fn test_all(&self) -> bool

Source§

impl BitTestAll for u8

Source§

fn test_all(&self) -> bool

Source§

impl BitTestAll for u16

Source§

fn test_all(&self) -> bool

Source§

impl BitTestAll for u32

Source§

fn test_all(&self) -> bool

Source§

impl BitTestAll for u64

Source§

fn test_all(&self) -> bool

Source§

impl BitTestAll for u128

Source§

fn test_all(&self) -> bool

Source§

impl<T> BitTestAll for Option<T>
where T: BitTestAll,

Source§

fn test_all(&self) -> bool

Source§

impl<T> BitTestAll for &T
where T: BitTestAll,

Source§

fn test_all(&self) -> bool

Source§

impl<T> BitTestAll for &mut T
where T: BitTestAll,

Source§

fn test_all(&self) -> bool

Source§

impl<T> BitTestAll for Box<T>
where T: BitTestAll,

Source§

fn test_all(&self) -> bool

Source§

impl<const N: usize> BitTestAll for [u8; N]

Source§

fn test_all(&self) -> bool

Source§

impl<const N: usize> BitTestAll for [u16; N]

Source§

fn test_all(&self) -> bool

Source§

impl<const N: usize> BitTestAll for [u32; N]

Source§

fn test_all(&self) -> bool

Source§

impl<const N: usize> BitTestAll for [u64; N]

Source§

fn test_all(&self) -> bool

Source§

impl<const N: usize> BitTestAll for [u128; N]

Source§

fn test_all(&self) -> bool

Implementors§

Source§

impl<T> BitTestAll for Complement<T>
where T: BitTestNone,

Source§

impl<T, U> BitTestAll for Difference<T, U>
where T: BitTestAll, U: BitTestNone,

Source§

impl<T, U> BitTestAll for Intersection<T, U>
where T: BitTestAll, U: BitTestAll,

Source§

impl<T, U> BitTestAll for Union<T, U>
where T: BitTestAll, U: BitTestAll,