pub struct TermConstructor {
pub name: String,
pub symbol: String,
pub kind: TermConstructorKind,
}Expand description
A term constructor in the derived type system.
Fields§
§name: StringInternal name
symbol: StringDisplay symbol or template
kind: TermConstructorKindKind of term constructor
Trait Implementations§
Source§impl Clone for TermConstructor
impl Clone for TermConstructor
Source§fn clone(&self) -> TermConstructor
fn clone(&self) -> TermConstructor
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 TermConstructor
impl RefUnwindSafe for TermConstructor
impl Send for TermConstructor
impl Sync for TermConstructor
impl Unpin for TermConstructor
impl UnwindSafe for TermConstructor
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