Struct zerovec::ule::PlainOldULE [−][src]
A u8 array of little-endian data with infallible conversions to and from &u8.
Implementations
impl PlainOldULE<2>
[src]
impl PlainOldULE<4>
[src]
impl PlainOldULE<8>
[src]
impl PlainOldULE<16>
[src]
Trait Implementations
impl<const N: usize> Clone for PlainOldULE<N>
[src]
fn clone(&self) -> PlainOldULE<N>
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[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]
fn eq(&self, other: &PlainOldULE<N>) -> bool
[src]
fn ne(&self, other: &PlainOldULE<N>) -> bool
[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.
fn parse_byte_slice(bytes: &[u8]) -> Result<&[Self], Self::Error>
[src]
fn as_byte_slice(slice: &[Self]) -> &[u8]
[src]
impl ULE for PlainOldULE<4>
[src]
type Error = Infallible
The error that occurs if a byte array is not valid for this ULE.
fn parse_byte_slice(bytes: &[u8]) -> Result<&[Self], Self::Error>
[src]
fn as_byte_slice(slice: &[Self]) -> &[u8]
[src]
impl ULE for PlainOldULE<8>
[src]
type Error = Infallible
The error that occurs if a byte array is not valid for this ULE.
fn parse_byte_slice(bytes: &[u8]) -> Result<&[Self], Self::Error>
[src]
fn as_byte_slice(slice: &[Self]) -> &[u8]
[src]
impl ULE for PlainOldULE<16>
[src]
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]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,