pub struct EnumVariantFormat {
pub is_unit: bool,
pub padding_bytes: u8,
}Fields§
§is_unit: bool§padding_bytes: u8Trait Implementations§
Source§impl Clone for EnumVariantFormat
impl Clone for EnumVariantFormat
Source§fn clone(&self) -> EnumVariantFormat
fn clone(&self) -> EnumVariantFormat
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 EnumVariantFormat
impl Debug for EnumVariantFormat
Source§impl Encode for EnumVariantFormat
impl Encode for EnumVariantFormat
Auto Trait Implementations§
impl Freeze for EnumVariantFormat
impl RefUnwindSafe for EnumVariantFormat
impl Send for EnumVariantFormat
impl Sync for EnumVariantFormat
impl Unpin for EnumVariantFormat
impl UnsafeUnpin for EnumVariantFormat
impl UnwindSafe for EnumVariantFormat
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