#[repr(u16)]pub enum EnumWithManyLineComment {
Member = 0,
}Expand description
Enum
with a
many-line
comment.Variants§
Member = 0
Implementations§
Trait Implementations§
Source§impl Clone for EnumWithManyLineComment
impl Clone for EnumWithManyLineComment
Source§fn clone(&self) -> EnumWithManyLineComment
fn clone(&self) -> EnumWithManyLineComment
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for EnumWithManyLineComment
Source§impl Debug for EnumWithManyLineComment
impl Debug for EnumWithManyLineComment
impl Eq for EnumWithManyLineComment
Source§impl From<EnumWithManyLineComment> for u16
impl From<EnumWithManyLineComment> for u16
Source§fn from(val: EnumWithManyLineComment) -> Self
fn from(val: EnumWithManyLineComment) -> Self
Converts to this type from the input type.
Source§impl Hash for EnumWithManyLineComment
impl Hash for EnumWithManyLineComment
impl IntoBytes for EnumWithManyLineCommentwhere
(): PaddingFree<Self, { _ }>,
Source§impl PartialEq for EnumWithManyLineComment
impl PartialEq for EnumWithManyLineComment
Source§fn eq(&self, other: &EnumWithManyLineComment) -> bool
fn eq(&self, other: &EnumWithManyLineComment) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for EnumWithManyLineComment
Source§impl TryFromBytes for EnumWithManyLineComment
impl TryFromBytes for EnumWithManyLineComment
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,
Auto Trait Implementations§
impl Freeze for EnumWithManyLineComment
impl RefUnwindSafe for EnumWithManyLineComment
impl Send for EnumWithManyLineComment
impl Sync for EnumWithManyLineComment
impl Unpin for EnumWithManyLineComment
impl UnsafeUnpin for EnumWithManyLineComment
impl UnwindSafe for EnumWithManyLineComment
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