pub enum TreatInductiveCycleAs {
Recur,
Ambig,
}
Variants§
Recur
This is the previous behavior, where Recur
represents an inductive
cycle that is known not to hold. This is not forwards-compatible with
coinduction, and will be deprecated. This is the default behavior
of the old trait solver due to back-compat reasons.
Ambig
This is the behavior of the new trait solver, where inductive cycles are treated as ambiguous and possibly holding.
Trait Implementations§
source§impl Clone for TreatInductiveCycleAs
impl Clone for TreatInductiveCycleAs
source§fn clone(&self) -> TreatInductiveCycleAs
fn clone(&self) -> TreatInductiveCycleAs
Returns a copy 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 From<TreatInductiveCycleAs> for EvaluationResult
impl From<TreatInductiveCycleAs> for EvaluationResult
source§fn from(treat: TreatInductiveCycleAs) -> EvaluationResult
fn from(treat: TreatInductiveCycleAs) -> EvaluationResult
Converts to this type from the input type.
impl Copy for TreatInductiveCycleAs
Auto Trait Implementations§
impl RefUnwindSafe for TreatInductiveCycleAs
impl Send for TreatInductiveCycleAs
impl Sync for TreatInductiveCycleAs
impl Unpin for TreatInductiveCycleAs
impl UnwindSafe for TreatInductiveCycleAs
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
Layout§
Note: Most layout information is completely unstable and may even differ between compilations. The only exception is types with certain repr(...)
attributes. Please see the Rust Reference's “Type Layout” chapter for details on type layout guarantees.
Size: 1 byte
Size for each variant:
Recur
: 0 bytesAmbig
: 0 bytes