pub struct CoqInductive {
pub name: String,
pub params: Vec<(String, CoqTerm)>,
pub sort: CoqSort,
pub constructors: Vec<CoqConstructor>,
}Expand description
Top-level Inductive (or Variant) declaration.
Fields§
§name: StringType name
params: Vec<(String, CoqTerm)>Universe parameters and type-level parameters: (A : Set)
sort: CoqSortSort of the inductive type itself
constructors: Vec<CoqConstructor>Constructors
Trait Implementations§
Source§impl Clone for CoqInductive
impl Clone for CoqInductive
Source§fn clone(&self) -> CoqInductive
fn clone(&self) -> CoqInductive
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 CoqInductive
impl Debug for CoqInductive
Source§impl PartialEq for CoqInductive
impl PartialEq for CoqInductive
impl StructuralPartialEq for CoqInductive
Auto Trait Implementations§
impl Freeze for CoqInductive
impl RefUnwindSafe for CoqInductive
impl Send for CoqInductive
impl Sync for CoqInductive
impl Unpin for CoqInductive
impl UnsafeUnpin for CoqInductive
impl UnwindSafe for CoqInductive
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