Struct zerovec::ule::PlainOldULE[][src]

#[repr(transparent)]
pub struct PlainOldULE<const N: usize>(pub [u8; N]);

A u8 array of little-endian data with infallible conversions to and from &u8.

Implementations

impl PlainOldULE<2>[src]

pub fn as_bytes(&self) -> &[u8][src]

impl PlainOldULE<4>[src]

pub fn as_bytes(&self) -> &[u8][src]

impl PlainOldULE<8>[src]

pub fn as_bytes(&self) -> &[u8][src]

impl PlainOldULE<16>[src]

pub fn as_bytes(&self) -> &[u8][src]

Trait Implementations

impl<const N: usize> Clone for PlainOldULE<N>[src]

impl<const N: usize> Copy for PlainOldULE<N>[src]

impl<const N: usize> Debug for PlainOldULE<N>[src]

impl<const N: usize> Eq for PlainOldULE<N>[src]

impl From<[u8; 16]> for PlainOldULE<16>[src]

impl From<[u8; 2]> for PlainOldULE<2>[src]

impl From<[u8; 4]> for PlainOldULE<4>[src]

impl From<[u8; 8]> for PlainOldULE<8>[src]

impl From<i128> for PlainOldULE<16>[src]

impl From<i16> for PlainOldULE<2>[src]

impl From<i32> for PlainOldULE<4>[src]

impl From<i64> for PlainOldULE<8>[src]

impl From<u128> for PlainOldULE<16>[src]

impl From<u16> for PlainOldULE<2>[src]

impl From<u32> for PlainOldULE<4>[src]

impl From<u64> for PlainOldULE<8>[src]

impl<const N: usize> PartialEq<PlainOldULE<N>> for PlainOldULE<N>[src]

impl<const N: usize> StructuralEq for PlainOldULE<N>[src]

impl<const N: usize> StructuralPartialEq for PlainOldULE<N>[src]

impl ULE for PlainOldULE<2>[src]

type Error = Infallible

The error that occurs if a byte array is not valid for this ULE.

impl ULE for PlainOldULE<4>[src]

type Error = Infallible

The error that occurs if a byte array is not valid for this ULE.

impl ULE for PlainOldULE<8>[src]

type Error = Infallible

The error that occurs if a byte array is not valid for this ULE.

impl ULE for PlainOldULE<16>[src]

type Error = Infallible

The error that occurs if a byte array is not valid for this ULE.

Auto Trait Implementations

impl<const N: usize> RefUnwindSafe for PlainOldULE<N>

impl<const N: usize> Send for PlainOldULE<N>

impl<const N: usize> Sync for PlainOldULE<N>

impl<const N: usize> Unpin for PlainOldULE<N>

impl<const N: usize> UnwindSafe for PlainOldULE<N>

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.