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