Struct Bits

Source
pub struct Bits<T>(pub T);
Expand description

A struct to support bits operations.

Tuple Fields§

§0: T

Trait Implementations§

Source§

impl Bit for Bits<i16>

Source§

fn bit(&self, bit: usize) -> bool

Get a single bit.
Source§

fn set_bit(&mut self, bit: usize, value: bool)

Set a single bit.
Source§

impl Bit for Bits<i32>

Source§

fn bit(&self, bit: usize) -> bool

Get a single bit.
Source§

fn set_bit(&mut self, bit: usize, value: bool)

Set a single bit.
Source§

impl Bit for Bits<i64>

Source§

fn bit(&self, bit: usize) -> bool

Get a single bit.
Source§

fn set_bit(&mut self, bit: usize, value: bool)

Set a single bit.
Source§

impl Bit for Bits<i8>

Source§

fn bit(&self, bit: usize) -> bool

Get a single bit.
Source§

fn set_bit(&mut self, bit: usize, value: bool)

Set a single bit.
Source§

impl Bit for Bits<u16>

Source§

fn bit(&self, bit: usize) -> bool

Get a single bit.
Source§

fn set_bit(&mut self, bit: usize, value: bool)

Set a single bit.
Source§

impl Bit for Bits<u32>

Source§

fn bit(&self, bit: usize) -> bool

Get a single bit.
Source§

fn set_bit(&mut self, bit: usize, value: bool)

Set a single bit.
Source§

impl Bit for Bits<u64>

Source§

fn bit(&self, bit: usize) -> bool

Get a single bit.
Source§

fn set_bit(&mut self, bit: usize, value: bool)

Set a single bit.
Source§

impl Bit for Bits<u8>

Source§

fn bit(&self, bit: usize) -> bool

Get a single bit.
Source§

fn set_bit(&mut self, bit: usize, value: bool)

Set a single bit.
Source§

impl BitRange<i16> for Bits<i16>

Source§

fn bit_range(&self, msb: usize, lsb: usize) -> i16

Get a range of bits.
Source§

fn set_bit_range(&mut self, msb: usize, lsb: usize, value: i16)

Set a range of bits.
Source§

impl BitRange<i16> for Bits<i32>

Source§

fn bit_range(&self, msb: usize, lsb: usize) -> i16

Get a range of bits.
Source§

fn set_bit_range(&mut self, msb: usize, lsb: usize, value: i16)

Set a range of bits.
Source§

impl BitRange<i16> for Bits<i64>

Source§

fn bit_range(&self, msb: usize, lsb: usize) -> i16

Get a range of bits.
Source§

fn set_bit_range(&mut self, msb: usize, lsb: usize, value: i16)

Set a range of bits.
Source§

impl BitRange<i16> for Bits<i8>

Source§

fn bit_range(&self, msb: usize, lsb: usize) -> i16

Get a range of bits.
Source§

fn set_bit_range(&mut self, msb: usize, lsb: usize, value: i16)

Set a range of bits.
Source§

impl BitRange<i16> for Bits<u16>

Source§

fn bit_range(&self, msb: usize, lsb: usize) -> i16

Get a range of bits.
Source§

fn set_bit_range(&mut self, msb: usize, lsb: usize, value: i16)

Set a range of bits.
Source§

impl BitRange<i16> for Bits<u32>

Source§

fn bit_range(&self, msb: usize, lsb: usize) -> i16

Get a range of bits.
Source§

fn set_bit_range(&mut self, msb: usize, lsb: usize, value: i16)

Set a range of bits.
Source§

impl BitRange<i16> for Bits<u64>

Source§

fn bit_range(&self, msb: usize, lsb: usize) -> i16

Get a range of bits.
Source§

fn set_bit_range(&mut self, msb: usize, lsb: usize, value: i16)

Set a range of bits.
Source§

impl BitRange<i16> for Bits<u8>

Source§

fn bit_range(&self, msb: usize, lsb: usize) -> i16

Get a range of bits.
Source§

fn set_bit_range(&mut self, msb: usize, lsb: usize, value: i16)

Set a range of bits.
Source§

impl BitRange<i32> for Bits<i16>

Source§

fn bit_range(&self, msb: usize, lsb: usize) -> i32

Get a range of bits.
Source§

fn set_bit_range(&mut self, msb: usize, lsb: usize, value: i32)

Set a range of bits.
Source§

impl BitRange<i32> for Bits<i32>

Source§

fn bit_range(&self, msb: usize, lsb: usize) -> i32

Get a range of bits.
Source§

fn set_bit_range(&mut self, msb: usize, lsb: usize, value: i32)

Set a range of bits.
Source§

impl BitRange<i32> for Bits<i64>

Source§

fn bit_range(&self, msb: usize, lsb: usize) -> i32

Get a range of bits.
Source§

fn set_bit_range(&mut self, msb: usize, lsb: usize, value: i32)

Set a range of bits.
Source§

impl BitRange<i32> for Bits<i8>

Source§

fn bit_range(&self, msb: usize, lsb: usize) -> i32

Get a range of bits.
Source§

fn set_bit_range(&mut self, msb: usize, lsb: usize, value: i32)

Set a range of bits.
Source§

impl BitRange<i32> for Bits<u16>

Source§

fn bit_range(&self, msb: usize, lsb: usize) -> i32

Get a range of bits.
Source§

fn set_bit_range(&mut self, msb: usize, lsb: usize, value: i32)

Set a range of bits.
Source§

impl BitRange<i32> for Bits<u32>

Source§

fn bit_range(&self, msb: usize, lsb: usize) -> i32

Get a range of bits.
Source§

fn set_bit_range(&mut self, msb: usize, lsb: usize, value: i32)

Set a range of bits.
Source§

impl BitRange<i32> for Bits<u64>

Source§

fn bit_range(&self, msb: usize, lsb: usize) -> i32

Get a range of bits.
Source§

fn set_bit_range(&mut self, msb: usize, lsb: usize, value: i32)

Set a range of bits.
Source§

impl BitRange<i32> for Bits<u8>

Source§

fn bit_range(&self, msb: usize, lsb: usize) -> i32

Get a range of bits.
Source§

fn set_bit_range(&mut self, msb: usize, lsb: usize, value: i32)

Set a range of bits.
Source§

impl BitRange<i64> for Bits<i16>

Source§

fn bit_range(&self, msb: usize, lsb: usize) -> i64

Get a range of bits.
Source§

fn set_bit_range(&mut self, msb: usize, lsb: usize, value: i64)

Set a range of bits.
Source§

impl BitRange<i64> for Bits<i32>

Source§

fn bit_range(&self, msb: usize, lsb: usize) -> i64

Get a range of bits.
Source§

fn set_bit_range(&mut self, msb: usize, lsb: usize, value: i64)

Set a range of bits.
Source§

impl BitRange<i64> for Bits<i64>

Source§

fn bit_range(&self, msb: usize, lsb: usize) -> i64

Get a range of bits.
Source§

fn set_bit_range(&mut self, msb: usize, lsb: usize, value: i64)

Set a range of bits.
Source§

impl BitRange<i64> for Bits<i8>

Source§

fn bit_range(&self, msb: usize, lsb: usize) -> i64

Get a range of bits.
Source§

fn set_bit_range(&mut self, msb: usize, lsb: usize, value: i64)

Set a range of bits.
Source§

impl BitRange<i64> for Bits<u16>

Source§

fn bit_range(&self, msb: usize, lsb: usize) -> i64

Get a range of bits.
Source§

fn set_bit_range(&mut self, msb: usize, lsb: usize, value: i64)

Set a range of bits.
Source§

impl BitRange<i64> for Bits<u32>

Source§

fn bit_range(&self, msb: usize, lsb: usize) -> i64

Get a range of bits.
Source§

fn set_bit_range(&mut self, msb: usize, lsb: usize, value: i64)

Set a range of bits.
Source§

impl BitRange<i64> for Bits<u64>

Source§

fn bit_range(&self, msb: usize, lsb: usize) -> i64

Get a range of bits.
Source§

fn set_bit_range(&mut self, msb: usize, lsb: usize, value: i64)

Set a range of bits.
Source§

impl BitRange<i64> for Bits<u8>

Source§

fn bit_range(&self, msb: usize, lsb: usize) -> i64

Get a range of bits.
Source§

fn set_bit_range(&mut self, msb: usize, lsb: usize, value: i64)

Set a range of bits.
Source§

impl BitRange<i8> for Bits<i16>

Source§

fn bit_range(&self, msb: usize, lsb: usize) -> i8

Get a range of bits.
Source§

fn set_bit_range(&mut self, msb: usize, lsb: usize, value: i8)

Set a range of bits.
Source§

impl BitRange<i8> for Bits<i32>

Source§

fn bit_range(&self, msb: usize, lsb: usize) -> i8

Get a range of bits.
Source§

fn set_bit_range(&mut self, msb: usize, lsb: usize, value: i8)

Set a range of bits.
Source§

impl BitRange<i8> for Bits<i64>

Source§

fn bit_range(&self, msb: usize, lsb: usize) -> i8

Get a range of bits.
Source§

fn set_bit_range(&mut self, msb: usize, lsb: usize, value: i8)

Set a range of bits.
Source§

impl BitRange<i8> for Bits<i8>

Source§

fn bit_range(&self, msb: usize, lsb: usize) -> i8

Get a range of bits.
Source§

fn set_bit_range(&mut self, msb: usize, lsb: usize, value: i8)

Set a range of bits.
Source§

impl BitRange<i8> for Bits<u16>

Source§

fn bit_range(&self, msb: usize, lsb: usize) -> i8

Get a range of bits.
Source§

fn set_bit_range(&mut self, msb: usize, lsb: usize, value: i8)

Set a range of bits.
Source§

impl BitRange<i8> for Bits<u32>

Source§

fn bit_range(&self, msb: usize, lsb: usize) -> i8

Get a range of bits.
Source§

fn set_bit_range(&mut self, msb: usize, lsb: usize, value: i8)

Set a range of bits.
Source§

impl BitRange<i8> for Bits<u64>

Source§

fn bit_range(&self, msb: usize, lsb: usize) -> i8

Get a range of bits.
Source§

fn set_bit_range(&mut self, msb: usize, lsb: usize, value: i8)

Set a range of bits.
Source§

impl BitRange<i8> for Bits<u8>

Source§

fn bit_range(&self, msb: usize, lsb: usize) -> i8

Get a range of bits.
Source§

fn set_bit_range(&mut self, msb: usize, lsb: usize, value: i8)

Set a range of bits.
Source§

impl BitRange<u16> for Bits<i16>

Source§

fn bit_range(&self, msb: usize, lsb: usize) -> u16

Get a range of bits.
Source§

fn set_bit_range(&mut self, msb: usize, lsb: usize, value: u16)

Set a range of bits.
Source§

impl BitRange<u16> for Bits<i32>

Source§

fn bit_range(&self, msb: usize, lsb: usize) -> u16

Get a range of bits.
Source§

fn set_bit_range(&mut self, msb: usize, lsb: usize, value: u16)

Set a range of bits.
Source§

impl BitRange<u16> for Bits<i64>

Source§

fn bit_range(&self, msb: usize, lsb: usize) -> u16

Get a range of bits.
Source§

fn set_bit_range(&mut self, msb: usize, lsb: usize, value: u16)

Set a range of bits.
Source§

impl BitRange<u16> for Bits<i8>

Source§

fn bit_range(&self, msb: usize, lsb: usize) -> u16

Get a range of bits.
Source§

fn set_bit_range(&mut self, msb: usize, lsb: usize, value: u16)

Set a range of bits.
Source§

impl BitRange<u16> for Bits<u16>

Source§

fn bit_range(&self, msb: usize, lsb: usize) -> u16

Get a range of bits.
Source§

fn set_bit_range(&mut self, msb: usize, lsb: usize, value: u16)

Set a range of bits.
Source§

impl BitRange<u16> for Bits<u32>

Source§

fn bit_range(&self, msb: usize, lsb: usize) -> u16

Get a range of bits.
Source§

fn set_bit_range(&mut self, msb: usize, lsb: usize, value: u16)

Set a range of bits.
Source§

impl BitRange<u16> for Bits<u64>

Source§

fn bit_range(&self, msb: usize, lsb: usize) -> u16

Get a range of bits.
Source§

fn set_bit_range(&mut self, msb: usize, lsb: usize, value: u16)

Set a range of bits.
Source§

impl BitRange<u16> for Bits<u8>

Source§

fn bit_range(&self, msb: usize, lsb: usize) -> u16

Get a range of bits.
Source§

fn set_bit_range(&mut self, msb: usize, lsb: usize, value: u16)

Set a range of bits.
Source§

impl BitRange<u32> for Bits<i16>

Source§

fn bit_range(&self, msb: usize, lsb: usize) -> u32

Get a range of bits.
Source§

fn set_bit_range(&mut self, msb: usize, lsb: usize, value: u32)

Set a range of bits.
Source§

impl BitRange<u32> for Bits<i32>

Source§

fn bit_range(&self, msb: usize, lsb: usize) -> u32

Get a range of bits.
Source§

fn set_bit_range(&mut self, msb: usize, lsb: usize, value: u32)

Set a range of bits.
Source§

impl BitRange<u32> for Bits<i64>

Source§

fn bit_range(&self, msb: usize, lsb: usize) -> u32

Get a range of bits.
Source§

fn set_bit_range(&mut self, msb: usize, lsb: usize, value: u32)

Set a range of bits.
Source§

impl BitRange<u32> for Bits<i8>

Source§

fn bit_range(&self, msb: usize, lsb: usize) -> u32

Get a range of bits.
Source§

fn set_bit_range(&mut self, msb: usize, lsb: usize, value: u32)

Set a range of bits.
Source§

impl BitRange<u32> for Bits<u16>

Source§

fn bit_range(&self, msb: usize, lsb: usize) -> u32

Get a range of bits.
Source§

fn set_bit_range(&mut self, msb: usize, lsb: usize, value: u32)

Set a range of bits.
Source§

impl BitRange<u32> for Bits<u32>

Source§

fn bit_range(&self, msb: usize, lsb: usize) -> u32

Get a range of bits.
Source§

fn set_bit_range(&mut self, msb: usize, lsb: usize, value: u32)

Set a range of bits.
Source§

impl BitRange<u32> for Bits<u64>

Source§

fn bit_range(&self, msb: usize, lsb: usize) -> u32

Get a range of bits.
Source§

fn set_bit_range(&mut self, msb: usize, lsb: usize, value: u32)

Set a range of bits.
Source§

impl BitRange<u32> for Bits<u8>

Source§

fn bit_range(&self, msb: usize, lsb: usize) -> u32

Get a range of bits.
Source§

fn set_bit_range(&mut self, msb: usize, lsb: usize, value: u32)

Set a range of bits.
Source§

impl BitRange<u64> for Bits<i16>

Source§

fn bit_range(&self, msb: usize, lsb: usize) -> u64

Get a range of bits.
Source§

fn set_bit_range(&mut self, msb: usize, lsb: usize, value: u64)

Set a range of bits.
Source§

impl BitRange<u64> for Bits<i32>

Source§

fn bit_range(&self, msb: usize, lsb: usize) -> u64

Get a range of bits.
Source§

fn set_bit_range(&mut self, msb: usize, lsb: usize, value: u64)

Set a range of bits.
Source§

impl BitRange<u64> for Bits<i64>

Source§

fn bit_range(&self, msb: usize, lsb: usize) -> u64

Get a range of bits.
Source§

fn set_bit_range(&mut self, msb: usize, lsb: usize, value: u64)

Set a range of bits.
Source§

impl BitRange<u64> for Bits<i8>

Source§

fn bit_range(&self, msb: usize, lsb: usize) -> u64

Get a range of bits.
Source§

fn set_bit_range(&mut self, msb: usize, lsb: usize, value: u64)

Set a range of bits.
Source§

impl BitRange<u64> for Bits<u16>

Source§

fn bit_range(&self, msb: usize, lsb: usize) -> u64

Get a range of bits.
Source§

fn set_bit_range(&mut self, msb: usize, lsb: usize, value: u64)

Set a range of bits.
Source§

impl BitRange<u64> for Bits<u32>

Source§

fn bit_range(&self, msb: usize, lsb: usize) -> u64

Get a range of bits.
Source§

fn set_bit_range(&mut self, msb: usize, lsb: usize, value: u64)

Set a range of bits.
Source§

impl BitRange<u64> for Bits<u64>

Source§

fn bit_range(&self, msb: usize, lsb: usize) -> u64

Get a range of bits.
Source§

fn set_bit_range(&mut self, msb: usize, lsb: usize, value: u64)

Set a range of bits.
Source§

impl BitRange<u64> for Bits<u8>

Source§

fn bit_range(&self, msb: usize, lsb: usize) -> u64

Get a range of bits.
Source§

fn set_bit_range(&mut self, msb: usize, lsb: usize, value: u64)

Set a range of bits.
Source§

impl BitRange<u8> for Bits<i16>

Source§

fn bit_range(&self, msb: usize, lsb: usize) -> u8

Get a range of bits.
Source§

fn set_bit_range(&mut self, msb: usize, lsb: usize, value: u8)

Set a range of bits.
Source§

impl BitRange<u8> for Bits<i32>

Source§

fn bit_range(&self, msb: usize, lsb: usize) -> u8

Get a range of bits.
Source§

fn set_bit_range(&mut self, msb: usize, lsb: usize, value: u8)

Set a range of bits.
Source§

impl BitRange<u8> for Bits<i64>

Source§

fn bit_range(&self, msb: usize, lsb: usize) -> u8

Get a range of bits.
Source§

fn set_bit_range(&mut self, msb: usize, lsb: usize, value: u8)

Set a range of bits.
Source§

impl BitRange<u8> for Bits<i8>

Source§

fn bit_range(&self, msb: usize, lsb: usize) -> u8

Get a range of bits.
Source§

fn set_bit_range(&mut self, msb: usize, lsb: usize, value: u8)

Set a range of bits.
Source§

impl BitRange<u8> for Bits<u16>

Source§

fn bit_range(&self, msb: usize, lsb: usize) -> u8

Get a range of bits.
Source§

fn set_bit_range(&mut self, msb: usize, lsb: usize, value: u8)

Set a range of bits.
Source§

impl BitRange<u8> for Bits<u32>

Source§

fn bit_range(&self, msb: usize, lsb: usize) -> u8

Get a range of bits.
Source§

fn set_bit_range(&mut self, msb: usize, lsb: usize, value: u8)

Set a range of bits.
Source§

impl BitRange<u8> for Bits<u64>

Source§

fn bit_range(&self, msb: usize, lsb: usize) -> u8

Get a range of bits.
Source§

fn set_bit_range(&mut self, msb: usize, lsb: usize, value: u8)

Set a range of bits.
Source§

impl BitRange<u8> for Bits<u8>

Source§

fn bit_range(&self, msb: usize, lsb: usize) -> u8

Get a range of bits.
Source§

fn set_bit_range(&mut self, msb: usize, lsb: usize, value: u8)

Set a range of bits.
Source§

impl From<bool> for Bits<i16>

Source§

fn from(value: bool) -> Self

Converts to this type from the input type.
Source§

impl From<bool> for Bits<i32>

Source§

fn from(value: bool) -> Self

Converts to this type from the input type.
Source§

impl From<bool> for Bits<i64>

Source§

fn from(value: bool) -> Self

Converts to this type from the input type.
Source§

impl From<bool> for Bits<i8>

Source§

fn from(value: bool) -> Self

Converts to this type from the input type.
Source§

impl From<bool> for Bits<u16>

Source§

fn from(value: bool) -> Self

Converts to this type from the input type.
Source§

impl From<bool> for Bits<u32>

Source§

fn from(value: bool) -> Self

Converts to this type from the input type.
Source§

impl From<bool> for Bits<u64>

Source§

fn from(value: bool) -> Self

Converts to this type from the input type.
Source§

impl From<bool> for Bits<u8>

Source§

fn from(value: bool) -> Self

Converts to this type from the input type.
Source§

impl From<i16> for Bits<i16>

Source§

fn from(value: i16) -> Self

Converts to this type from the input type.
Source§

impl From<i16> for Bits<i32>

Source§

fn from(value: i16) -> Self

Converts to this type from the input type.
Source§

impl From<i16> for Bits<i64>

Source§

fn from(value: i16) -> Self

Converts to this type from the input type.
Source§

impl From<i16> for Bits<i8>

Source§

fn from(value: i16) -> Self

Converts to this type from the input type.
Source§

impl From<i16> for Bits<u16>

Source§

fn from(value: i16) -> Self

Converts to this type from the input type.
Source§

impl From<i16> for Bits<u32>

Source§

fn from(value: i16) -> Self

Converts to this type from the input type.
Source§

impl From<i16> for Bits<u64>

Source§

fn from(value: i16) -> Self

Converts to this type from the input type.
Source§

impl From<i16> for Bits<u8>

Source§

fn from(value: i16) -> Self

Converts to this type from the input type.
Source§

impl From<i32> for Bits<i16>

Source§

fn from(value: i32) -> Self

Converts to this type from the input type.
Source§

impl From<i32> for Bits<i32>

Source§

fn from(value: i32) -> Self

Converts to this type from the input type.
Source§

impl From<i32> for Bits<i64>

Source§

fn from(value: i32) -> Self

Converts to this type from the input type.
Source§

impl From<i32> for Bits<i8>

Source§

fn from(value: i32) -> Self

Converts to this type from the input type.
Source§

impl From<i32> for Bits<u16>

Source§

fn from(value: i32) -> Self

Converts to this type from the input type.
Source§

impl From<i32> for Bits<u32>

Source§

fn from(value: i32) -> Self

Converts to this type from the input type.
Source§

impl From<i32> for Bits<u64>

Source§

fn from(value: i32) -> Self

Converts to this type from the input type.
Source§

impl From<i32> for Bits<u8>

Source§

fn from(value: i32) -> Self

Converts to this type from the input type.
Source§

impl From<i64> for Bits<i16>

Source§

fn from(value: i64) -> Self

Converts to this type from the input type.
Source§

impl From<i64> for Bits<i32>

Source§

fn from(value: i64) -> Self

Converts to this type from the input type.
Source§

impl From<i64> for Bits<i64>

Source§

fn from(value: i64) -> Self

Converts to this type from the input type.
Source§

impl From<i64> for Bits<i8>

Source§

fn from(value: i64) -> Self

Converts to this type from the input type.
Source§

impl From<i64> for Bits<u16>

Source§

fn from(value: i64) -> Self

Converts to this type from the input type.
Source§

impl From<i64> for Bits<u32>

Source§

fn from(value: i64) -> Self

Converts to this type from the input type.
Source§

impl From<i64> for Bits<u64>

Source§

fn from(value: i64) -> Self

Converts to this type from the input type.
Source§

impl From<i64> for Bits<u8>

Source§

fn from(value: i64) -> Self

Converts to this type from the input type.
Source§

impl From<i8> for Bits<i16>

Source§

fn from(value: i8) -> Self

Converts to this type from the input type.
Source§

impl From<i8> for Bits<i32>

Source§

fn from(value: i8) -> Self

Converts to this type from the input type.
Source§

impl From<i8> for Bits<i64>

Source§

fn from(value: i8) -> Self

Converts to this type from the input type.
Source§

impl From<i8> for Bits<i8>

Source§

fn from(value: i8) -> Self

Converts to this type from the input type.
Source§

impl From<i8> for Bits<u16>

Source§

fn from(value: i8) -> Self

Converts to this type from the input type.
Source§

impl From<i8> for Bits<u32>

Source§

fn from(value: i8) -> Self

Converts to this type from the input type.
Source§

impl From<i8> for Bits<u64>

Source§

fn from(value: i8) -> Self

Converts to this type from the input type.
Source§

impl From<i8> for Bits<u8>

Source§

fn from(value: i8) -> Self

Converts to this type from the input type.
Source§

impl From<u16> for Bits<i16>

Source§

fn from(value: u16) -> Self

Converts to this type from the input type.
Source§

impl From<u16> for Bits<i32>

Source§

fn from(value: u16) -> Self

Converts to this type from the input type.
Source§

impl From<u16> for Bits<i64>

Source§

fn from(value: u16) -> Self

Converts to this type from the input type.
Source§

impl From<u16> for Bits<i8>

Source§

fn from(value: u16) -> Self

Converts to this type from the input type.
Source§

impl From<u16> for Bits<u16>

Source§

fn from(value: u16) -> Self

Converts to this type from the input type.
Source§

impl From<u16> for Bits<u32>

Source§

fn from(value: u16) -> Self

Converts to this type from the input type.
Source§

impl From<u16> for Bits<u64>

Source§

fn from(value: u16) -> Self

Converts to this type from the input type.
Source§

impl From<u16> for Bits<u8>

Source§

fn from(value: u16) -> Self

Converts to this type from the input type.
Source§

impl From<u32> for Bits<i16>

Source§

fn from(value: u32) -> Self

Converts to this type from the input type.
Source§

impl From<u32> for Bits<i32>

Source§

fn from(value: u32) -> Self

Converts to this type from the input type.
Source§

impl From<u32> for Bits<i64>

Source§

fn from(value: u32) -> Self

Converts to this type from the input type.
Source§

impl From<u32> for Bits<i8>

Source§

fn from(value: u32) -> Self

Converts to this type from the input type.
Source§

impl From<u32> for Bits<u16>

Source§

fn from(value: u32) -> Self

Converts to this type from the input type.
Source§

impl From<u32> for Bits<u32>

Source§

fn from(value: u32) -> Self

Converts to this type from the input type.
Source§

impl From<u32> for Bits<u64>

Source§

fn from(value: u32) -> Self

Converts to this type from the input type.
Source§

impl From<u32> for Bits<u8>

Source§

fn from(value: u32) -> Self

Converts to this type from the input type.
Source§

impl From<u64> for Bits<i16>

Source§

fn from(value: u64) -> Self

Converts to this type from the input type.
Source§

impl From<u64> for Bits<i32>

Source§

fn from(value: u64) -> Self

Converts to this type from the input type.
Source§

impl From<u64> for Bits<i64>

Source§

fn from(value: u64) -> Self

Converts to this type from the input type.
Source§

impl From<u64> for Bits<i8>

Source§

fn from(value: u64) -> Self

Converts to this type from the input type.
Source§

impl From<u64> for Bits<u16>

Source§

fn from(value: u64) -> Self

Converts to this type from the input type.
Source§

impl From<u64> for Bits<u32>

Source§

fn from(value: u64) -> Self

Converts to this type from the input type.
Source§

impl From<u64> for Bits<u64>

Source§

fn from(value: u64) -> Self

Converts to this type from the input type.
Source§

impl From<u64> for Bits<u8>

Source§

fn from(value: u64) -> Self

Converts to this type from the input type.
Source§

impl From<u8> for Bits<i16>

Source§

fn from(value: u8) -> Self

Converts to this type from the input type.
Source§

impl From<u8> for Bits<i32>

Source§

fn from(value: u8) -> Self

Converts to this type from the input type.
Source§

impl From<u8> for Bits<i64>

Source§

fn from(value: u8) -> Self

Converts to this type from the input type.
Source§

impl From<u8> for Bits<i8>

Source§

fn from(value: u8) -> Self

Converts to this type from the input type.
Source§

impl From<u8> for Bits<u16>

Source§

fn from(value: u8) -> Self

Converts to this type from the input type.
Source§

impl From<u8> for Bits<u32>

Source§

fn from(value: u8) -> Self

Converts to this type from the input type.
Source§

impl From<u8> for Bits<u64>

Source§

fn from(value: u8) -> Self

Converts to this type from the input type.
Source§

impl From<u8> for Bits<u8>

Source§

fn from(value: u8) -> Self

Converts to this type from the input type.
Source§

impl Into<bool> for Bits<i16>

Source§

fn into(self) -> bool

Converts this type into the (usually inferred) input type.
Source§

impl Into<bool> for Bits<i32>

Source§

fn into(self) -> bool

Converts this type into the (usually inferred) input type.
Source§

impl Into<bool> for Bits<i64>

Source§

fn into(self) -> bool

Converts this type into the (usually inferred) input type.
Source§

impl Into<bool> for Bits<i8>

Source§

fn into(self) -> bool

Converts this type into the (usually inferred) input type.
Source§

impl Into<bool> for Bits<u16>

Source§

fn into(self) -> bool

Converts this type into the (usually inferred) input type.
Source§

impl Into<bool> for Bits<u32>

Source§

fn into(self) -> bool

Converts this type into the (usually inferred) input type.
Source§

impl Into<bool> for Bits<u64>

Source§

fn into(self) -> bool

Converts this type into the (usually inferred) input type.
Source§

impl Into<bool> for Bits<u8>

Source§

fn into(self) -> bool

Converts this type into the (usually inferred) input type.
Source§

impl Into<i16> for Bits<i16>

Source§

fn into(self) -> i16

Converts this type into the (usually inferred) input type.
Source§

impl Into<i16> for Bits<i32>

Source§

fn into(self) -> i16

Converts this type into the (usually inferred) input type.
Source§

impl Into<i16> for Bits<i64>

Source§

fn into(self) -> i16

Converts this type into the (usually inferred) input type.
Source§

impl Into<i16> for Bits<i8>

Source§

fn into(self) -> i16

Converts this type into the (usually inferred) input type.
Source§

impl Into<i16> for Bits<u16>

Source§

fn into(self) -> i16

Converts this type into the (usually inferred) input type.
Source§

impl Into<i16> for Bits<u32>

Source§

fn into(self) -> i16

Converts this type into the (usually inferred) input type.
Source§

impl Into<i16> for Bits<u64>

Source§

fn into(self) -> i16

Converts this type into the (usually inferred) input type.
Source§

impl Into<i16> for Bits<u8>

Source§

fn into(self) -> i16

Converts this type into the (usually inferred) input type.
Source§

impl Into<i32> for Bits<i16>

Source§

fn into(self) -> i32

Converts this type into the (usually inferred) input type.
Source§

impl Into<i32> for Bits<i32>

Source§

fn into(self) -> i32

Converts this type into the (usually inferred) input type.
Source§

impl Into<i32> for Bits<i64>

Source§

fn into(self) -> i32

Converts this type into the (usually inferred) input type.
Source§

impl Into<i32> for Bits<i8>

Source§

fn into(self) -> i32

Converts this type into the (usually inferred) input type.
Source§

impl Into<i32> for Bits<u16>

Source§

fn into(self) -> i32

Converts this type into the (usually inferred) input type.
Source§

impl Into<i32> for Bits<u32>

Source§

fn into(self) -> i32

Converts this type into the (usually inferred) input type.
Source§

impl Into<i32> for Bits<u64>

Source§

fn into(self) -> i32

Converts this type into the (usually inferred) input type.
Source§

impl Into<i32> for Bits<u8>

Source§

fn into(self) -> i32

Converts this type into the (usually inferred) input type.
Source§

impl Into<i64> for Bits<i16>

Source§

fn into(self) -> i64

Converts this type into the (usually inferred) input type.
Source§

impl Into<i64> for Bits<i32>

Source§

fn into(self) -> i64

Converts this type into the (usually inferred) input type.
Source§

impl Into<i64> for Bits<i64>

Source§

fn into(self) -> i64

Converts this type into the (usually inferred) input type.
Source§

impl Into<i64> for Bits<i8>

Source§

fn into(self) -> i64

Converts this type into the (usually inferred) input type.
Source§

impl Into<i64> for Bits<u16>

Source§

fn into(self) -> i64

Converts this type into the (usually inferred) input type.
Source§

impl Into<i64> for Bits<u32>

Source§

fn into(self) -> i64

Converts this type into the (usually inferred) input type.
Source§

impl Into<i64> for Bits<u64>

Source§

fn into(self) -> i64

Converts this type into the (usually inferred) input type.
Source§

impl Into<i64> for Bits<u8>

Source§

fn into(self) -> i64

Converts this type into the (usually inferred) input type.
Source§

impl Into<i8> for Bits<i16>

Source§

fn into(self) -> i8

Converts this type into the (usually inferred) input type.
Source§

impl Into<i8> for Bits<i32>

Source§

fn into(self) -> i8

Converts this type into the (usually inferred) input type.
Source§

impl Into<i8> for Bits<i64>

Source§

fn into(self) -> i8

Converts this type into the (usually inferred) input type.
Source§

impl Into<i8> for Bits<i8>

Source§

fn into(self) -> i8

Converts this type into the (usually inferred) input type.
Source§

impl Into<i8> for Bits<u16>

Source§

fn into(self) -> i8

Converts this type into the (usually inferred) input type.
Source§

impl Into<i8> for Bits<u32>

Source§

fn into(self) -> i8

Converts this type into the (usually inferred) input type.
Source§

impl Into<i8> for Bits<u64>

Source§

fn into(self) -> i8

Converts this type into the (usually inferred) input type.
Source§

impl Into<i8> for Bits<u8>

Source§

fn into(self) -> i8

Converts this type into the (usually inferred) input type.
Source§

impl Into<u16> for Bits<i16>

Source§

fn into(self) -> u16

Converts this type into the (usually inferred) input type.
Source§

impl Into<u16> for Bits<i32>

Source§

fn into(self) -> u16

Converts this type into the (usually inferred) input type.
Source§

impl Into<u16> for Bits<i64>

Source§

fn into(self) -> u16

Converts this type into the (usually inferred) input type.
Source§

impl Into<u16> for Bits<i8>

Source§

fn into(self) -> u16

Converts this type into the (usually inferred) input type.
Source§

impl Into<u16> for Bits<u16>

Source§

fn into(self) -> u16

Converts this type into the (usually inferred) input type.
Source§

impl Into<u16> for Bits<u32>

Source§

fn into(self) -> u16

Converts this type into the (usually inferred) input type.
Source§

impl Into<u16> for Bits<u64>

Source§

fn into(self) -> u16

Converts this type into the (usually inferred) input type.
Source§

impl Into<u16> for Bits<u8>

Source§

fn into(self) -> u16

Converts this type into the (usually inferred) input type.
Source§

impl Into<u32> for Bits<i16>

Source§

fn into(self) -> u32

Converts this type into the (usually inferred) input type.
Source§

impl Into<u32> for Bits<i32>

Source§

fn into(self) -> u32

Converts this type into the (usually inferred) input type.
Source§

impl Into<u32> for Bits<i64>

Source§

fn into(self) -> u32

Converts this type into the (usually inferred) input type.
Source§

impl Into<u32> for Bits<i8>

Source§

fn into(self) -> u32

Converts this type into the (usually inferred) input type.
Source§

impl Into<u32> for Bits<u16>

Source§

fn into(self) -> u32

Converts this type into the (usually inferred) input type.
Source§

impl Into<u32> for Bits<u32>

Source§

fn into(self) -> u32

Converts this type into the (usually inferred) input type.
Source§

impl Into<u32> for Bits<u64>

Source§

fn into(self) -> u32

Converts this type into the (usually inferred) input type.
Source§

impl Into<u32> for Bits<u8>

Source§

fn into(self) -> u32

Converts this type into the (usually inferred) input type.
Source§

impl Into<u64> for Bits<i16>

Source§

fn into(self) -> u64

Converts this type into the (usually inferred) input type.
Source§

impl Into<u64> for Bits<i32>

Source§

fn into(self) -> u64

Converts this type into the (usually inferred) input type.
Source§

impl Into<u64> for Bits<i64>

Source§

fn into(self) -> u64

Converts this type into the (usually inferred) input type.
Source§

impl Into<u64> for Bits<i8>

Source§

fn into(self) -> u64

Converts this type into the (usually inferred) input type.
Source§

impl Into<u64> for Bits<u16>

Source§

fn into(self) -> u64

Converts this type into the (usually inferred) input type.
Source§

impl Into<u64> for Bits<u32>

Source§

fn into(self) -> u64

Converts this type into the (usually inferred) input type.
Source§

impl Into<u64> for Bits<u64>

Source§

fn into(self) -> u64

Converts this type into the (usually inferred) input type.
Source§

impl Into<u64> for Bits<u8>

Source§

fn into(self) -> u64

Converts this type into the (usually inferred) input type.
Source§

impl Into<u8> for Bits<i16>

Source§

fn into(self) -> u8

Converts this type into the (usually inferred) input type.
Source§

impl Into<u8> for Bits<i32>

Source§

fn into(self) -> u8

Converts this type into the (usually inferred) input type.
Source§

impl Into<u8> for Bits<i64>

Source§

fn into(self) -> u8

Converts this type into the (usually inferred) input type.
Source§

impl Into<u8> for Bits<i8>

Source§

fn into(self) -> u8

Converts this type into the (usually inferred) input type.
Source§

impl Into<u8> for Bits<u16>

Source§

fn into(self) -> u8

Converts this type into the (usually inferred) input type.
Source§

impl Into<u8> for Bits<u32>

Source§

fn into(self) -> u8

Converts this type into the (usually inferred) input type.
Source§

impl Into<u8> for Bits<u64>

Source§

fn into(self) -> u8

Converts this type into the (usually inferred) input type.
Source§

impl Into<u8> for Bits<u8>

Source§

fn into(self) -> u8

Converts this type into the (usually inferred) input type.

Auto Trait Implementations§

§

impl<T> Freeze for Bits<T>
where T: Freeze,

§

impl<T> RefUnwindSafe for Bits<T>
where T: RefUnwindSafe,

§

impl<T> Send for Bits<T>
where T: Send,

§

impl<T> Sync for Bits<T>
where T: Sync,

§

impl<T> Unpin for Bits<T>
where T: Unpin,

§

impl<T> UnwindSafe for Bits<T>
where T: UnwindSafe,

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.