pub enum EnumPayload {
Unit,
Tuple(Vec<Value>),
Struct(Vec<(String, Value)>),
}Expand description
Runtime payload attached to a BopEnumVariant. Mirrors the
three variant shapes the parser recognises
(VariantKind::{Unit, Tuple, Struct}).
Variants§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for EnumPayload
impl !RefUnwindSafe for EnumPayload
impl !Send for EnumPayload
impl !Sync for EnumPayload
impl Unpin for EnumPayload
impl UnsafeUnpin for EnumPayload
impl !UnwindSafe for EnumPayload
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