#[repr(u64)]pub enum OverlayWithEquallySizedVariants {
A(u64),
B(i64),
C(OverlayStructVariant),
D(u64),
}Variants§
Trait Implementations§
Source§impl Clone for OverlayWithEquallySizedVariants
impl Clone for OverlayWithEquallySizedVariants
Source§fn clone(&self) -> OverlayWithEquallySizedVariants
fn clone(&self) -> OverlayWithEquallySizedVariants
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 OverlayWithEquallySizedVariants
impl IntoBytes for OverlayWithEquallySizedVariants
Source§impl TryFromBytes for OverlayWithEquallySizedVariants
impl TryFromBytes for OverlayWithEquallySizedVariants
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 OverlayWithEquallySizedVariants
impl RefUnwindSafe for OverlayWithEquallySizedVariants
impl Send for OverlayWithEquallySizedVariants
impl Sync for OverlayWithEquallySizedVariants
impl Unpin for OverlayWithEquallySizedVariants
impl UnsafeUnpin for OverlayWithEquallySizedVariants
impl UnwindSafe for OverlayWithEquallySizedVariants
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