Struct bitsy_lang::ast::EnumTypeDef  
source · pub struct EnumTypeDef {
    pub name: Ident,
    pub values: Vec<(Ident, WordLit)>,
    pub span: Span,
}Expand description
A user-defined enum type.
Fields§
§name: Ident§values: Vec<(Ident, WordLit)>§span: SpanTrait Implementations§
source§impl Clone for EnumTypeDef
 
impl Clone for EnumTypeDef
source§fn clone(&self) -> EnumTypeDef
 
fn clone(&self) -> EnumTypeDef
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 RefUnwindSafe for EnumTypeDef
impl Send for EnumTypeDef
impl Sync for EnumTypeDef
impl Unpin for EnumTypeDef
impl UnwindSafe for EnumTypeDef
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