Trait BitComplement

Source
pub trait BitComplement {
    type Output;

    // Required method
    fn complement(self) -> Self::Output;
}
Expand description

Trait to get dual set to the given.

Required Associated Types§

Required Methods§

Source

fn complement(self) -> Self::Output

Implementations on Foreign Types§

Source§

impl BitComplement for bool

Source§

impl BitComplement for u8

Source§

impl BitComplement for u16

Source§

impl BitComplement for u32

Source§

impl BitComplement for u64

Source§

impl BitComplement for u128

Source§

impl<T> BitComplement for Option<T>

Source§

impl<T> BitComplement for &T

Source§

impl<T> BitComplement for &mut T

Source§

impl<T> BitComplement for Box<T>

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Implementors§