pub struct ConstructorDecl {
pub name: SymbolId,
pub ty: TermId,
pub num_fields: u32,
}Expand description
Constructor declaration
Fields§
§name: SymbolIdName of the constructor
ty: TermIdType of the constructor
num_fields: u32Number of fields
Trait Implementations§
Source§impl Clone for ConstructorDecl
impl Clone for ConstructorDecl
Source§fn clone(&self) -> ConstructorDecl
fn clone(&self) -> ConstructorDecl
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 ConstructorDecl
impl RefUnwindSafe for ConstructorDecl
impl Send for ConstructorDecl
impl Sync for ConstructorDecl
impl Unpin for ConstructorDecl
impl UnwindSafe for ConstructorDecl
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