Enum bobbin_bits::U5 [] [src]

#[repr(u8)]
pub enum U5 { B00000, B00001, B00010, B00011, B00100, B00101, B00110, B00111, B01000, B01001, B01010, B01011, B01100, B01101, B01110, B01111, B10000, B10001, B10010, B10011, B10100, B10101, B10110, B10111, B11000, B11001, B11010, B11011, B11100, B11101, B11110, B11111, }

Variants

Methods

impl U5
[src]

[src]

Returns the primitive representation of the value.

[src]

Constructs the value without a range check.

[src]

Constructs the value without a range check.

[src]

Constructs the value without a range check.

[src]

Constructs the value without a range check.

[src]

Returns the value as an u8.

[src]

Returns the value as an u16.

[src]

Returns the value as an u32.

[src]

Returns the value as an usize.

[src]

Returns the value as an i32.

Trait Implementations

impl PartialEq for U5
[src]

[src]

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

1.0.0
[src]

This method tests for !=.

impl Eq for U5
[src]

impl Clone for U5
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Copy for U5
[src]

impl From<u8> for U5
[src]

[src]

Performs the conversion.

impl From<u16> for U5
[src]

[src]

Performs the conversion.

impl From<u32> for U5
[src]

[src]

Performs the conversion.

impl From<usize> for U5
[src]

[src]

Performs the conversion.

impl From<i32> for U5
[src]

[src]

Performs the conversion.

impl PartialEq<i32> for U5
[src]

[src]

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

1.0.0
[src]

This method tests for !=.

impl Debug for U5
[src]

[src]

Formats the value using the given formatter.

impl Display for U5
[src]

[src]

Formats the value using the given formatter. Read more

impl LowerHex for U5
[src]

[src]

Formats the value using the given formatter.