BitEmpty

Trait BitEmpty 

Source
pub trait BitEmpty {
    // Required method
    fn empty() -> Self;
}

Required Methods§

Source

fn empty() -> Self

Returns empty bitset for which all bits are unset.

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementations on Foreign Types§

Source§

impl BitEmpty for bool

Source§

impl BitEmpty for u8

Source§

impl BitEmpty for u16

Source§

impl BitEmpty for u32

Source§

impl BitEmpty for u64

Source§

impl BitEmpty for u128

Source§

impl<T> BitEmpty for Option<T>

Source§

fn empty() -> Self

Source§

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

Source§

fn empty() -> Self

Source§

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

Source§

fn empty() -> [u8; N]

Source§

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

Source§

fn empty() -> [u16; N]

Source§

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

Source§

fn empty() -> [u32; N]

Source§

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

Source§

fn empty() -> [u64; N]

Source§

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

Source§

fn empty() -> [u128; N]

Implementors§

Source§

impl<T> BitEmpty for Complement<T>
where T: BitFull,

Source§

impl<T, B, const N: usize> BitEmpty for Layered<T, B, N>
where T: BitEmpty, B: BitEmpty,

Source§

impl<T, U> BitEmpty for Difference<T, U>
where T: BitEmpty, U: Default,

Source§

impl<T, U> BitEmpty for Intersection<T, U>
where T: BitEmpty, U: Default,

Source§

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