pub struct InductiveInfo {
pub num_params: u32,
pub num_indices: u32,
pub all: Rc<[NameId]>,
pub ctors: Rc<[NameId]>,
pub num_nested: u32,
pub is_rec: bool,
pub is_reflexive: bool,
pub is_unsafe: bool,
pub rec: NameId,
}Fields§
§num_params: u32§num_indices: u32§all: Rc<[NameId]>§ctors: Rc<[NameId]>§num_nested: u32§is_rec: bool§is_reflexive: bool§is_unsafe: bool§rec: NameIdThe inductive’s own recursor, <name>.rec.
Trait Implementations§
Source§impl Clone for InductiveInfo
impl Clone for InductiveInfo
Source§fn clone(&self) -> InductiveInfo
fn clone(&self) -> InductiveInfo
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 InductiveInfo
impl Debug for InductiveInfo
Source§impl PartialEq for InductiveInfo
impl PartialEq for InductiveInfo
impl StructuralPartialEq for InductiveInfo
Auto Trait Implementations§
impl Freeze for InductiveInfo
impl RefUnwindSafe for InductiveInfo
impl !Send for InductiveInfo
impl !Sync for InductiveInfo
impl Unpin for InductiveInfo
impl UnsafeUnpin for InductiveInfo
impl UnwindSafe for InductiveInfo
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