Struct eetf::BitBinary [] [src]

pub struct BitBinary {
    pub bytes: Vec<u8>,
    pub tail_bits_size: u8,
}

Bit string.

Fields

bytes: Vec<u8> tail_bits_size: u8

Trait Implementations

impl Clone for BitBinary
[src]

fn clone(&self) -> BitBinary

Returns a copy of the value. Read more

fn clone_from(&mut self, source: &Self)
1.0.0

Performs copy-assignment from source. Read more

impl PartialEq for BitBinary
[src]

fn eq(&self, __arg_0: &BitBinary) -> bool

This method tests for self and other values to be equal, and is used by ==. Read more

fn ne(&self, __arg_0: &BitBinary) -> bool

This method tests for !=.

impl Debug for BitBinary
[src]

fn fmt(&self, __arg_0: &mut Formatter) -> Result

Formats the value using the given formatter.

impl Display for BitBinary
[src]

fn fmt(&self, f: &mut Formatter) -> Result

Formats the value using the given formatter.

impl From<Binary> for BitBinary
[src]

fn from(binary: Binary) -> Self

Performs the conversion.

impl From<(Vec<u8>, u8)> for BitBinary
[src]

fn from((bytes, tail_bits_size): (Vec<u8>, u8)) -> Self

Performs the conversion.