pub enum EnumVariantLiteral {
Simple(QualifiedTypeIdentifier, LocalTypeIdentifier),
Tuple(QualifiedTypeIdentifier, LocalTypeIdentifier, Vec<Expression>),
Struct(QualifiedTypeIdentifier, LocalTypeIdentifier, Vec<FieldExpression>, bool),
}
Variants§
Simple(QualifiedTypeIdentifier, LocalTypeIdentifier)
Tuple(QualifiedTypeIdentifier, LocalTypeIdentifier, Vec<Expression>)
Struct(QualifiedTypeIdentifier, LocalTypeIdentifier, Vec<FieldExpression>, bool)
Implementations§
Trait Implementations§
Source§impl Clone for EnumVariantLiteral
impl Clone for EnumVariantLiteral
Source§fn clone(&self) -> EnumVariantLiteral
fn clone(&self) -> EnumVariantLiteral
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 EnumVariantLiteral
impl RefUnwindSafe for EnumVariantLiteral
impl Send for EnumVariantLiteral
impl Sync for EnumVariantLiteral
impl Unpin for EnumVariantLiteral
impl UnwindSafe for EnumVariantLiteral
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