#[repr(C)]pub struct StructWithStringArrays {
pub str: [u8; 10],
pub strs: [[u8; 6]; 4],
}Fields§
§str: [u8; 10]§strs: [[u8; 6]; 4]Trait Implementations§
Source§impl Clone for StructWithStringArrays
impl Clone for StructWithStringArrays
Source§fn clone(&self) -> StructWithStringArrays
fn clone(&self) -> StructWithStringArrays
Returns a duplicate 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 StructWithStringArrays
impl Debug for StructWithStringArrays
Source§impl FromBytes for StructWithStringArrays
impl FromBytes for StructWithStringArrays
Source§impl FromZeros for StructWithStringArrays
impl FromZeros for StructWithStringArrays
Source§impl IntoBytes for StructWithStringArrays
impl IntoBytes for StructWithStringArrays
Source§impl PartialEq for StructWithStringArrays
impl PartialEq for StructWithStringArrays
Source§impl TryFromBytes for StructWithStringArrays
impl TryFromBytes for StructWithStringArrays
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 StructWithStringArrays
impl Eq for StructWithStringArrays
impl StructuralPartialEq for StructWithStringArrays
Auto Trait Implementations§
impl Freeze for StructWithStringArrays
impl RefUnwindSafe for StructWithStringArrays
impl Send for StructWithStringArrays
impl Sync for StructWithStringArrays
impl Unpin for StructWithStringArrays
impl UnwindSafe for StructWithStringArrays
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