[][src]Struct pigeon::U2

pub struct U2(pub u8);

Adapter for reading/writing a 2-bit unsigned integer.

This will only read/write the last 2 least significant bits of the inner u8.

Trait Implementations

impl Clone for U2[src]

impl Copy for U2[src]

impl Debug for U2[src]

impl Pack for U2[src]

impl PartialEq<U2> for U2[src]

impl StructuralPartialEq for U2[src]

impl<'a> Unpack<'a> for U2[src]

Auto Trait Implementations

impl RefUnwindSafe for U2

impl Send for U2

impl Sync for U2

impl Unpin for U2

impl UnwindSafe for U2

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.