[][src]Struct pigeon::U4

pub struct U4(pub u8);

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

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

Trait Implementations

impl Clone for U4[src]

impl Copy for U4[src]

impl Debug for U4[src]

impl Pack for U4[src]

impl PartialEq<U4> for U4[src]

impl StructuralPartialEq for U4[src]

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

Auto Trait Implementations

impl RefUnwindSafe for U4

impl Send for U4

impl Sync for U4

impl Unpin for U4

impl UnwindSafe for U4

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.