[][src]Struct struct_pad::PadU16

#[repr(transparent)]pub struct PadU16(_);

A padding type with the same layout as u16.

PadU16 is implemented as a wrapper around a single-variant enum with an all-zeros bit-pattern.

Trait Implementations

impl Clone for PadU16[src]

impl Copy for PadU16[src]

impl Debug for PadU16[src]

impl Default for PadU16[src]

impl Eq for PadU16[src]

impl Hash for PadU16[src]

impl Ord for PadU16[src]

impl Pad for PadU16[src]

impl PartialEq<PadU16> for PadU16[src]

impl PartialOrd<PadU16> for PadU16[src]

Auto Trait Implementations

impl Send for PadU16

impl Sync for PadU16

impl Unpin for PadU16

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, 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.