Struct p25::bits::Tribit [] [src]

pub struct Tribit(_);

Three bits.

Methods

impl Tribit
[src]

[src]

Construct a new Tribit with the three given bits in the LSB position.

[src]

Get the wrapped tribit, which is guaranteed to have only 3 LSBs.

Trait Implementations

impl Copy for Tribit
[src]

impl Clone for Tribit
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Default for Tribit
[src]

[src]

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

impl Debug for Tribit
[src]

[src]

Formats the value using the given formatter. Read more

impl PartialEq for Tribit
[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 Tribit
[src]