[][src]Struct packed_struct::types::ReservedBits

pub struct ReservedBits<V, B> { /* fields omitted */ }

Always packs into the associated bit value. Ignores the input when unpacking.

Trait Implementations

impl<V: Clone, B: Clone> Clone for ReservedBits<V, B>[src]

impl<V: Copy, B: Copy> Copy for ReservedBits<V, B>[src]

impl<B> Debug for ReservedBits<BitZero, B>[src]

impl<B> Debug for ReservedBits<BitOne, B>[src]

impl<V: Default, B: Default> Default for ReservedBits<V, B>[src]

impl<'de, V, B> Deserialize<'de> for ReservedBits<V, B> where
    V: Deserialize<'de>, 
[src]

impl<B> Display for ReservedBits<BitZero, B>[src]

impl<B> Display for ReservedBits<BitOne, B>[src]

impl<V, B> PackedStruct<<<B as NumberOfBits>::Bytes as NumberOfBytes>::AsBytes> for ReservedBits<V, B> where
    Self: Default,
    V: ReservedBitValue,
    B: NumberOfBits
[src]

impl<V, B> PackedStructInfo for ReservedBits<V, B> where
    B: NumberOfBits
[src]

impl<V, B> PackedStructSlice for ReservedBits<V, B> where
    Self: Default,
    V: ReservedBitValue,
    B: NumberOfBits
[src]

impl<V: PartialEq, B: PartialEq> PartialEq<ReservedBits<V, B>> for ReservedBits<V, B>[src]

impl<V, B> Serialize for ReservedBits<V, B> where
    V: Serialize
[src]

impl<V, B> StructuralPartialEq for ReservedBits<V, B>[src]

Auto Trait Implementations

impl<V, B> RefUnwindSafe for ReservedBits<V, B> where
    B: RefUnwindSafe,
    V: RefUnwindSafe

impl<V, B> Send for ReservedBits<V, B> where
    B: Send,
    V: Send

impl<V, B> Sync for ReservedBits<V, B> where
    B: Sync,
    V: Sync

impl<V, B> Unpin for ReservedBits<V, B> where
    B: Unpin,
    V: Unpin

impl<V, B> UnwindSafe for ReservedBits<V, B> where
    B: UnwindSafe,
    V: UnwindSafe

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> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[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> ToString for T where
    T: Display + ?Sized
[src]

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.