pub struct InductionArm {
pub pattern: String,
pub body: Tactic,
}Expand description
One | <pattern> => <body> arm of an Tactic::Induction.
Fields§
§pattern: StringThe pattern after | and before =>, e.g. nil or cons head tail ih.
body: TacticTrait Implementations§
Source§impl Clone for InductionArm
impl Clone for InductionArm
Source§fn clone(&self) -> InductionArm
fn clone(&self) -> InductionArm
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 InductionArm
impl Debug for InductionArm
impl Eq for InductionArm
Source§impl PartialEq for InductionArm
impl PartialEq for InductionArm
Source§fn eq(&self, other: &InductionArm) -> bool
fn eq(&self, other: &InductionArm) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for InductionArm
Auto Trait Implementations§
impl Freeze for InductionArm
impl RefUnwindSafe for InductionArm
impl Send for InductionArm
impl Sync for InductionArm
impl Unpin for InductionArm
impl UnsafeUnpin for InductionArm
impl UnwindSafe for InductionArm
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.