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