Enum bobbin_bits::U2 [] [src]

#[repr(u8)]
pub enum U2 { B00, B01, B10, B11, }

Variants

Methods

impl U2
[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 U2
[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 U2
[src]

impl Clone for U2
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Copy for U2
[src]

impl From<u8> for U2
[src]

[src]

Performs the conversion.

impl From<U2> for u8
[src]

[src]

Performs the conversion.

impl From<u16> for U2
[src]

[src]

Performs the conversion.

impl From<U2> for u16
[src]

[src]

Performs the conversion.

impl From<u32> for U2
[src]

[src]

Performs the conversion.

impl From<U2> for u32
[src]

[src]

Performs the conversion.

impl From<usize> for U2
[src]

[src]

Performs the conversion.

impl From<U2> for usize
[src]

[src]

Performs the conversion.

impl From<i32> for U2
[src]

[src]

Performs the conversion.

impl From<U2> for i32
[src]

[src]

Performs the conversion.

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

[src]

Formats the value using the given formatter. Read more

impl Display for U2
[src]

[src]

Formats the value using the given formatter. Read more

impl LowerHex for U2
[src]

[src]

Formats the value using the given formatter.

Auto Trait Implementations

impl Send for U2

impl Sync for U2