pub enum EnumVariantType {
Simple(Node),
Tuple(Node, Vec<Type>),
Struct(Node, AnonymousStructType),
}
Variants§
Trait Implementations§
Source§impl Clone for EnumVariantType
impl Clone for EnumVariantType
Source§fn clone(&self) -> EnumVariantType
fn clone(&self) -> EnumVariantType
Returns a copy 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 EnumVariantType
impl RefUnwindSafe for EnumVariantType
impl Send for EnumVariantType
impl Sync for EnumVariantType
impl Unpin for EnumVariantType
impl UnwindSafe for EnumVariantType
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