[−][src]Struct packed_struct::types::bits::Bits20
Trait Implementations
impl BitsPartialBytes for Bits20
[src]
impl Clone for Bits20
[src]
impl Copy for Bits20
[src]
impl Debug for Bits20
[src]
impl Default for Bits20
[src]
impl NumberOfBits for Bits20
[src]
type Bytes = Bytes3
Minimal number of bytes that this bit width requires.
fn number_of_bits() -> u8
[src]
impl PartialEq<Bits20> for Bits20
[src]
impl SizedInteger<i32, Bits20> for Integer<i32, Bits20>
[src]
fn value_bit_mask() -> i32
[src]
fn from_primitive(val: i32) -> Self
[src]
fn to_primitive(&self) -> i32
[src]
fn to_msb_bytes(
&self
) -> <<Bits20 as NumberOfBits>::Bytes as NumberOfBytes>::AsBytes
[src]
&self
) -> <<Bits20 as NumberOfBits>::Bytes as NumberOfBytes>::AsBytes
fn to_lsb_bytes(
&self
) -> <<Bits20 as NumberOfBits>::Bytes as NumberOfBytes>::AsBytes
[src]
&self
) -> <<Bits20 as NumberOfBits>::Bytes as NumberOfBytes>::AsBytes
fn from_msb_bytes(
bytes: &<<Bits20 as NumberOfBits>::Bytes as NumberOfBytes>::AsBytes
) -> Self
[src]
bytes: &<<Bits20 as NumberOfBits>::Bytes as NumberOfBytes>::AsBytes
) -> Self
fn from_lsb_bytes(
bytes: &<<Bits20 as NumberOfBits>::Bytes as NumberOfBytes>::AsBytes
) -> Self
[src]
bytes: &<<Bits20 as NumberOfBits>::Bytes as NumberOfBytes>::AsBytes
) -> Self
impl SizedInteger<u32, Bits20> for Integer<u32, Bits20>
[src]
fn value_bit_mask() -> u32
[src]
fn from_primitive(val: u32) -> Self
[src]
fn to_primitive(&self) -> u32
[src]
fn to_msb_bytes(
&self
) -> <<Bits20 as NumberOfBits>::Bytes as NumberOfBytes>::AsBytes
[src]
&self
) -> <<Bits20 as NumberOfBits>::Bytes as NumberOfBytes>::AsBytes
fn to_lsb_bytes(
&self
) -> <<Bits20 as NumberOfBits>::Bytes as NumberOfBytes>::AsBytes
[src]
&self
) -> <<Bits20 as NumberOfBits>::Bytes as NumberOfBytes>::AsBytes
fn from_msb_bytes(
bytes: &<<Bits20 as NumberOfBits>::Bytes as NumberOfBytes>::AsBytes
) -> Self
[src]
bytes: &<<Bits20 as NumberOfBits>::Bytes as NumberOfBytes>::AsBytes
) -> Self
fn from_lsb_bytes(
bytes: &<<Bits20 as NumberOfBits>::Bytes as NumberOfBytes>::AsBytes
) -> Self
[src]
bytes: &<<Bits20 as NumberOfBits>::Bytes as NumberOfBytes>::AsBytes
) -> Self
impl StructuralPartialEq for Bits20
[src]
Auto Trait Implementations
impl RefUnwindSafe for Bits20
impl Send for Bits20
impl Sync for Bits20
impl Unpin for Bits20
impl UnwindSafe for Bits20
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut Tⓘ
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,