pub struct DatatypeDecl {
pub tyvars: Vec<Symbol>,
pub name: Symbol,
pub constructors: Vec<ConDecl>,
pub span: Span,
}Fields§
§tyvars: Vec<Symbol>§name: Symbol§constructors: Vec<ConDecl>§span: SpanTrait Implementations§
Source§impl Clone for DatatypeDecl
impl Clone for DatatypeDecl
Source§fn clone(&self) -> DatatypeDecl
fn clone(&self) -> DatatypeDecl
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 moreSource§impl Debug for DatatypeDecl
impl Debug for DatatypeDecl
Source§impl PartialEq for DatatypeDecl
impl PartialEq for DatatypeDecl
impl StructuralPartialEq for DatatypeDecl
Auto Trait Implementations§
impl Freeze for DatatypeDecl
impl RefUnwindSafe for DatatypeDecl
impl Send for DatatypeDecl
impl Sync for DatatypeDecl
impl Unpin for DatatypeDecl
impl UnsafeUnpin for DatatypeDecl
impl UnwindSafe for DatatypeDecl
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