pub struct InductiveType {
pub name: String,
pub arity: NodeRef,
pub num_params: usize,
pub constructors: Vec<ConstructorClaim>,
}Expand description
One member of an inductive block.
Fields§
§name: String§arity: NodeRefThe arity: parameters, then indices, then the sort.
num_params: usizeHow many leading arity binders are uniform parameters.
constructors: Vec<ConstructorClaim>Trait Implementations§
Source§impl Clone for InductiveType
impl Clone for InductiveType
Source§fn clone(&self) -> InductiveType
fn clone(&self) -> InductiveType
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 InductiveType
impl Debug for InductiveType
Source§impl<'de> Deserialize<'de> for InductiveType
impl<'de> Deserialize<'de> for InductiveType
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for InductiveType
impl PartialEq for InductiveType
Source§impl Serialize for InductiveType
impl Serialize for InductiveType
impl StructuralPartialEq for InductiveType
Auto Trait Implementations§
impl Freeze for InductiveType
impl RefUnwindSafe for InductiveType
impl Send for InductiveType
impl Sync for InductiveType
impl Unpin for InductiveType
impl UnsafeUnpin for InductiveType
impl UnwindSafe for InductiveType
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