pub struct InductionArg {
pub name: String,
pub recursive: bool,
}Expand description
One argument of a constructor in an InductionCase.
Fields§
§name: StringThe name bound for this argument in the case body.
recursive: boolWhether this argument is itself of the inductive type — a recursive position, which therefore carries an induction hypothesis.
Trait Implementations§
Source§impl Clone for InductionArg
impl Clone for InductionArg
Source§fn clone(&self) -> InductionArg
fn clone(&self) -> InductionArg
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 InductionArg
impl Debug for InductionArg
Source§impl PartialEq for InductionArg
impl PartialEq for InductionArg
impl StructuralPartialEq for InductionArg
Auto Trait Implementations§
impl Freeze for InductionArg
impl RefUnwindSafe for InductionArg
impl Send for InductionArg
impl Sync for InductionArg
impl Unpin for InductionArg
impl UnsafeUnpin for InductionArg
impl UnwindSafe for InductionArg
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