Trait deepmesa_collections::bitvec::traits::BitwiseMsb[][src]

pub trait BitwiseMsb<Rhs = bool> {
    type Output;
    fn and_msb(self, n: u8, rhs: Rhs) -> Self::Output;
fn or_msb(self, n: u8, rhs: Rhs) -> Self::Output;
fn xor_msb(self, n: u8, rhs: Rhs) -> Self::Output; }
Expand description

Bitwise & (and), | (or) and ^ (xor) operations on the Msb bits of self.

Associated Types

Required methods

fn and_msb(self, n: u8, rhs: Rhs) -> Self::Output[src]

fn or_msb(self, n: u8, rhs: Rhs) -> Self::Output[src]

fn xor_msb(self, n: u8, rhs: Rhs) -> Self::Output[src]

Implementations on Foreign Types

impl BitwiseMsb<bool> for u8[src]

type Output = u8

fn and_msb(self, n: u8, rhs: bool) -> Self::Output[src]

fn or_msb(self, n: u8, rhs: bool) -> Self::Output[src]

fn xor_msb(self, n: u8, rhs: bool) -> Self::Output[src]

impl BitwiseMsb<u8> for u8[src]

type Output = u8

fn and_msb(self, n: u8, rhs: u8) -> Self::Output[src]

fn or_msb(self, n: u8, rhs: u8) -> Self::Output[src]

fn xor_msb(self, n: u8, rhs: u8) -> Self::Output[src]

Implementors