Enum bobbin_bits::U4 [] [src]

#[repr(u8)]
pub enum U4 { B0000, B0001, B0010, B0011, B0100, B0101, B0110, B0111, B1000, B1001, B1010, B1011, B1100, B1101, B1110, B1111, }

Variants

Methods

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

impl Clone for U4
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Copy for U4
[src]

impl From<u8> for U4
[src]

[src]

Performs the conversion.

impl From<U4> for u8
[src]

[src]

Performs the conversion.

impl From<u16> for U4
[src]

[src]

Performs the conversion.

impl From<U4> for u16
[src]

[src]

Performs the conversion.

impl From<u32> for U4
[src]

[src]

Performs the conversion.

impl From<U4> for u32
[src]

[src]

Performs the conversion.

impl From<usize> for U4
[src]

[src]

Performs the conversion.

impl From<U4> for usize
[src]

[src]

Performs the conversion.

impl From<i32> for U4
[src]

[src]

Performs the conversion.

impl From<U4> for i32
[src]

[src]

Performs the conversion.

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

[src]

Formats the value using the given formatter. Read more

impl Display for U4
[src]

[src]

Formats the value using the given formatter. Read more

impl LowerHex for U4
[src]

[src]

Formats the value using the given formatter.

Auto Trait Implementations

impl Send for U4

impl Sync for U4