Struct zerovec::ule::PlainOldULE [−][src]
Expand description
A u8 array of little-endian data with infallible conversions to and from &u8.
Tuple Fields
0: [u8; N]
Implementations
Trait Implementations
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
type Error = ULEError<Infallible>
type Error = ULEError<Infallible>
The error that occurs if a byte array is not valid for this ULE.
Validates a byte slice, &[u8]
. Read more
Parses a byte slice, &[u8]
, and return it as &[Self]
with the same lifetime. Read more
Takes a byte slice, &[u8]
, and return it as &[Self]
with the same lifetime, assuming
that this byte slice has previously been run through Self::parse_byte_slice()
with
success. Read more
type Error = ULEError<Infallible>
type Error = ULEError<Infallible>
The error that occurs if a byte array is not valid for this ULE.
Validates a byte slice, &[u8]
. Read more
Parses a byte slice, &[u8]
, and return it as &[Self]
with the same lifetime. Read more
Takes a byte slice, &[u8]
, and return it as &[Self]
with the same lifetime, assuming
that this byte slice has previously been run through Self::parse_byte_slice()
with
success. Read more
type Error = ULEError<Infallible>
type Error = ULEError<Infallible>
The error that occurs if a byte array is not valid for this ULE.
Validates a byte slice, &[u8]
. Read more
Parses a byte slice, &[u8]
, and return it as &[Self]
with the same lifetime. Read more
Takes a byte slice, &[u8]
, and return it as &[Self]
with the same lifetime, assuming
that this byte slice has previously been run through Self::parse_byte_slice()
with
success. Read more
type Error = ULEError<Infallible>
type Error = ULEError<Infallible>
The error that occurs if a byte array is not valid for this ULE.
Validates a byte slice, &[u8]
. Read more
Parses a byte slice, &[u8]
, and return it as &[Self]
with the same lifetime. Read more
Takes a byte slice, &[u8]
, and return it as &[Self]
with the same lifetime, assuming
that this byte slice has previously been run through Self::parse_byte_slice()
with
success. Read more
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
Mutably borrows from an owned value. Read more