Struct packed_struct::types::LsbInteger [] [src]

pub struct LsbInteger<T, B, I>(_, _, _);

A wrapper that packages the integer as a LSB packaged byte array. Usually invoked using code generation.

Trait Implementations

impl<T, B, I> Deref for LsbInteger<T, B, I> where
    B: BitsFullBytes
[src]

The resulting type after dereferencing.

Important traits for &'a mut W
[src]

Dereferences the value.

impl<T, B, I> From<I> for LsbInteger<T, B, I> where
    B: BitsFullBytes
[src]

[src]

Performs the conversion.

impl<T, B, I> Debug for LsbInteger<T, B, I> where
    I: Debug
[src]

[src]

Formats the value using the given formatter. Read more

impl<T, B, I> Display for LsbInteger<T, B, I> where
    I: Display
[src]

[src]

Formats the value using the given formatter. Read more

impl<T, B, I> PackedStruct<<<B as NumberOfBits>::Bytes as NumberOfBytes>::AsBytes> for LsbInteger<T, B, I> where
    B: NumberOfBits,
    I: SizedInteger<T, B>,
    B: BitsFullBytes
[src]

[src]

Packs the structure into a byte array.

[src]

Unpacks the structure from a byte array.

impl<T, B, I> PackedStructInfo for LsbInteger<T, B, I> where
    B: NumberOfBits
[src]

[src]

Number of bits that this structure occupies when being packed.

impl<T, B, I> PackedStructSlice for LsbInteger<T, B, I> where
    B: NumberOfBits + BitsFullBytes,
    I: SizedInteger<T, B>, 
[src]

[src]

Pack the structure into an output buffer.

[src]

Unpack the structure from a buffer.

[src]

Number of bytes that this structure demands for packing or unpacking.

[src]

Pack the structure into a new byte vector.

Auto Trait Implementations

impl<T, B, I> Send for LsbInteger<T, B, I> where
    B: Send,
    I: Send,
    T: Send

impl<T, B, I> Sync for LsbInteger<T, B, I> where
    B: Sync,
    I: Sync,
    T: Sync