Trait proc_bitfield::Bit

source ·
pub trait Bit {
    // Required method
    fn bit<const BIT: usize>(&self) -> bool;
}
Expand description

Read a single bit inside a value.

Required Methods§

source

fn bit<const BIT: usize>(&self) -> bool

Read self’s specified bit.

Object Safety§

This trait is not object safe.

Implementations on Foreign Types§

source§

impl Bit for i8

source§

fn bit<const BIT: usize>(&self) -> bool

source§

impl Bit for i16

source§

fn bit<const BIT: usize>(&self) -> bool

source§

impl Bit for i32

source§

fn bit<const BIT: usize>(&self) -> bool

source§

impl Bit for i64

source§

fn bit<const BIT: usize>(&self) -> bool

source§

impl Bit for i128

source§

fn bit<const BIT: usize>(&self) -> bool

source§

impl Bit for isize

source§

fn bit<const BIT: usize>(&self) -> bool

source§

impl Bit for u8

source§

fn bit<const BIT: usize>(&self) -> bool

source§

impl Bit for u16

source§

fn bit<const BIT: usize>(&self) -> bool

source§

impl Bit for u32

source§

fn bit<const BIT: usize>(&self) -> bool

source§

impl Bit for u64

source§

fn bit<const BIT: usize>(&self) -> bool

source§

impl Bit for u128

source§

fn bit<const BIT: usize>(&self) -> bool

source§

impl Bit for usize

source§

fn bit<const BIT: usize>(&self) -> bool

source§

impl Bit for [i8]

source§

fn bit<const BIT: usize>(&self) -> bool

source§

impl Bit for [i16]

source§

fn bit<const BIT: usize>(&self) -> bool

source§

impl Bit for [i32]

source§

fn bit<const BIT: usize>(&self) -> bool

source§

impl Bit for [i64]

source§

fn bit<const BIT: usize>(&self) -> bool

source§

impl Bit for [i128]

source§

fn bit<const BIT: usize>(&self) -> bool

source§

impl Bit for [isize]

source§

fn bit<const BIT: usize>(&self) -> bool

source§

impl Bit for [u8]

source§

fn bit<const BIT: usize>(&self) -> bool

source§

impl Bit for [u16]

source§

fn bit<const BIT: usize>(&self) -> bool

source§

impl Bit for [u32]

source§

fn bit<const BIT: usize>(&self) -> bool

source§

impl Bit for [u64]

source§

fn bit<const BIT: usize>(&self) -> bool

source§

impl Bit for [u128]

source§

fn bit<const BIT: usize>(&self) -> bool

source§

impl Bit for [usize]

source§

fn bit<const BIT: usize>(&self) -> bool

source§

impl<const N: usize> Bit for [i8; N]

source§

fn bit<const BIT: usize>(&self) -> bool

source§

impl<const N: usize> Bit for [i16; N]

source§

fn bit<const BIT: usize>(&self) -> bool

source§

impl<const N: usize> Bit for [i32; N]

source§

fn bit<const BIT: usize>(&self) -> bool

source§

impl<const N: usize> Bit for [i64; N]

source§

fn bit<const BIT: usize>(&self) -> bool

source§

impl<const N: usize> Bit for [i128; N]

source§

fn bit<const BIT: usize>(&self) -> bool

source§

impl<const N: usize> Bit for [isize; N]

source§

fn bit<const BIT: usize>(&self) -> bool

source§

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

source§

fn bit<const BIT: usize>(&self) -> bool

source§

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

source§

fn bit<const BIT: usize>(&self) -> bool

source§

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

source§

fn bit<const BIT: usize>(&self) -> bool

source§

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

source§

fn bit<const BIT: usize>(&self) -> bool

source§

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

source§

fn bit<const BIT: usize>(&self) -> bool

source§

impl<const N: usize> Bit for [usize; N]

source§

fn bit<const BIT: usize>(&self) -> bool

Implementors§