#[repr(C)]pub struct ArrayMembers {
pub u8s: [u8; 10],
pub singletons: [Singleton; 6],
pub nested_arrays1: [[u8; 10]; 20],
pub nested_arrays2: [[[i8; 1]; 2]; 3],
}
Fields§
§u8s: [u8; 10]
§singletons: [Singleton; 6]
§nested_arrays1: [[u8; 10]; 20]
§nested_arrays2: [[[i8; 1]; 2]; 3]
Trait Implementations§
Source§impl Clone for ArrayMembers
impl Clone for ArrayMembers
Source§fn clone(&self) -> ArrayMembers
fn clone(&self) -> ArrayMembers
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for ArrayMembers
impl Debug for ArrayMembers
Source§impl FromBytes for ArrayMembers
impl FromBytes for ArrayMembers
Source§impl FromZeros for ArrayMembers
impl FromZeros for ArrayMembers
Source§impl IntoBytes for ArrayMembers
impl IntoBytes for ArrayMembers
Source§impl PartialEq for ArrayMembers
impl PartialEq for ArrayMembers
Source§impl TryFromBytes for ArrayMemberswhere
[u8; 10]: TryFromBytes,
[Singleton; 6]: TryFromBytes,
[[u8; 10]; 20]: TryFromBytes,
[[[i8; 1]; 2]; 3]: TryFromBytes,
impl TryFromBytes for ArrayMemberswhere
[u8; 10]: TryFromBytes,
[Singleton; 6]: TryFromBytes,
[[u8; 10]; 20]: TryFromBytes,
[[[i8; 1]; 2]; 3]: TryFromBytes,
Source§fn try_read_from_bytes(
source: &[u8],
) -> Result<Self, ConvertError<Infallible, SizeError<&[u8], Self>, ValidityError<&[u8], Self>>>where
Self: Sized,
fn try_read_from_bytes(
source: &[u8],
) -> Result<Self, ConvertError<Infallible, SizeError<&[u8], Self>, ValidityError<&[u8], Self>>>where
Self: Sized,
Source§fn try_read_from_prefix(
source: &[u8],
) -> Result<(Self, &[u8]), ConvertError<Infallible, SizeError<&[u8], Self>, ValidityError<&[u8], Self>>>where
Self: Sized,
fn try_read_from_prefix(
source: &[u8],
) -> Result<(Self, &[u8]), ConvertError<Infallible, SizeError<&[u8], Self>, ValidityError<&[u8], Self>>>where
Self: Sized,
Source§fn try_read_from_suffix(
source: &[u8],
) -> Result<(&[u8], Self), ConvertError<Infallible, SizeError<&[u8], Self>, ValidityError<&[u8], Self>>>where
Self: Sized,
fn try_read_from_suffix(
source: &[u8],
) -> Result<(&[u8], Self), ConvertError<Infallible, SizeError<&[u8], Self>, ValidityError<&[u8], Self>>>where
Self: Sized,
impl Copy for ArrayMembers
impl Eq for ArrayMembers
impl StructuralPartialEq for ArrayMembers
Auto Trait Implementations§
impl Freeze for ArrayMembers
impl RefUnwindSafe for ArrayMembers
impl Send for ArrayMembers
impl Sync for ArrayMembers
impl Unpin for ArrayMembers
impl UnwindSafe for ArrayMembers
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)