pub struct ValueDecodeVariant {
pub tag: u32,
pub name: &'static str,
pub shape: RecordShape,
pub fields: &'static [ValueDecodeField],
}Expand description
One encoded enum branch. Tags are declaration indices, regardless of Rust discriminants.
Fields§
§tag: u32Wire tag.
name: &'static strLogical variant name.
shape: RecordShapeShape of the variant’s fields.
fields: &'static [ValueDecodeField]Fields in wire order.
Trait Implementations§
Source§impl Clone for ValueDecodeVariant
impl Clone for ValueDecodeVariant
impl Copy for ValueDecodeVariant
Auto Trait Implementations§
impl Freeze for ValueDecodeVariant
impl RefUnwindSafe for ValueDecodeVariant
impl Send for ValueDecodeVariant
impl Sync for ValueDecodeVariant
impl Unpin for ValueDecodeVariant
impl UnsafeUnpin for ValueDecodeVariant
impl UnwindSafe for ValueDecodeVariant
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