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