pub enum EnumPayload {
Unit,
Tuple(Vec<ValueWord>),
Struct(HashMap<String, ValueWord>),
}Expand description
Payload for custom enum variants
Variants§
Trait Implementations§
Source§impl Clone for EnumPayload
impl Clone for EnumPayload
Source§fn clone(&self) -> EnumPayload
fn clone(&self) -> EnumPayload
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 moreAuto 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