pub struct CoqInductiveDef {
pub name: String,
pub params: Vec<(String, String)>,
pub indices: Vec<(String, String)>,
pub universe: CoqUniverse,
pub constructors: Vec<(String, Vec<(String, String)>, String)>,
pub is_coinductive: bool,
}Expand description
Coq inductive definition (extended)
Fields§
§name: String§params: Vec<(String, String)>§indices: Vec<(String, String)>§universe: CoqUniverse§constructors: Vec<(String, Vec<(String, String)>, String)>§is_coinductive: boolTrait Implementations§
Source§impl Clone for CoqInductiveDef
impl Clone for CoqInductiveDef
Source§fn clone(&self) -> CoqInductiveDef
fn clone(&self) -> CoqInductiveDef
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 CoqInductiveDef
impl Debug for CoqInductiveDef
Auto Trait Implementations§
impl Freeze for CoqInductiveDef
impl RefUnwindSafe for CoqInductiveDef
impl Send for CoqInductiveDef
impl Sync for CoqInductiveDef
impl Unpin for CoqInductiveDef
impl UnsafeUnpin for CoqInductiveDef
impl UnwindSafe for CoqInductiveDef
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