pub enum VariantFields {
Unit,
Tuple(Vec<Type>),
Struct(Vec<Field>),
}Variants§
Trait Implementations§
Source§impl Clone for VariantFields
impl Clone for VariantFields
Source§fn clone(&self) -> VariantFields
fn clone(&self) -> VariantFields
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 VariantFields
impl RefUnwindSafe for VariantFields
impl Send for VariantFields
impl Sync for VariantFields
impl Unpin for VariantFields
impl UnwindSafe for VariantFields
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