Struct p25::bits::Dibit [] [src]

pub struct Dibit(_);

Two bits.

Methods

impl Dibit
[src]

[src]

Construct a new Dibit with the two given bits in the LSB position.

[src]

Get the wrapped dibit, which is guaranteed to have only 2 LSBs.

[src]

Get the MSB.

[src]

Get the LSB.

Trait Implementations

impl Copy for Dibit
[src]

impl Clone for Dibit
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Default for Dibit
[src]

[src]

Returns the "default value" for a type. Read more

impl Debug for Dibit
[src]

[src]

Formats the value using the given formatter. Read more

impl PartialEq for Dibit
[src]

[src]

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

[src]

This method tests for !=.

impl Eq for Dibit
[src]