pub struct Inductive {
pub num_params: u64,
pub num_indices: u64,
pub all: Vec<NameId>,
pub ctors: Vec<NameId>,
pub num_nested: u64,
pub is_rec: bool,
pub is_reflexive: bool,
}Fields§
§num_params: u64§num_indices: u64§all: Vec<NameId>§ctors: Vec<NameId>§num_nested: u64§is_rec: bool§is_reflexive: boolTrait Implementations§
Auto Trait Implementations§
impl Forget for Inductive
impl Freeze for Inductive
impl RefUnwindSafe for Inductive
impl Send for Inductive
impl Sync for Inductive
impl Unpin for Inductive
impl UnsafeUnpin for Inductive
impl UnwindSafe for Inductive
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
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more