#[repr(C)]pub struct StructWithManyLineComment {
pub member: u16,
}
Expand description
Struct
with a
many-line
comment.
Fields§
§member: u16
Trait Implementations§
source§impl Clone for StructWithManyLineComment
impl Clone for StructWithManyLineComment
source§fn clone(&self) -> StructWithManyLineComment
fn clone(&self) -> StructWithManyLineComment
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 StructWithManyLineComment
impl Debug for StructWithManyLineComment
source§impl FromBytes for StructWithManyLineComment
impl FromBytes for StructWithManyLineComment
source§impl PartialEq for StructWithManyLineComment
impl PartialEq for StructWithManyLineComment
source§fn eq(&self, other: &StructWithManyLineComment) -> bool
fn eq(&self, other: &StructWithManyLineComment) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl TryFromBytes for StructWithManyLineCommentwhere
u16: TryFromBytes,
impl TryFromBytes for StructWithManyLineCommentwhere
u16: 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 StructWithManyLineComment
impl Eq for StructWithManyLineComment
impl StructuralPartialEq for StructWithManyLineComment
Auto Trait Implementations§
impl Freeze for StructWithManyLineComment
impl RefUnwindSafe for StructWithManyLineComment
impl Send for StructWithManyLineComment
impl Sync for StructWithManyLineComment
impl Unpin for StructWithManyLineComment
impl UnwindSafe for StructWithManyLineComment
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§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)source§impl<T> CloneToUninit for Twhere
T: Copy,
impl<T> CloneToUninit for Twhere
T: Copy,
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
)