[−][src]Enum chalk_engine::context::AnswerResult
Variants
Answer(CompleteAnswer<C>)
The next available answer.
No answer could be returned because there are no more solutions.
No answer could be returned because the goal has floundered.
Methods
impl<C: Context> AnswerResult<C>
[src]
pub fn is_answer(&self) -> bool
[src]
pub fn answer(self) -> CompleteAnswer<C>
[src]
pub fn is_no_more_solutions(&self) -> bool
[src]
pub fn is_quantum_exceeded(&self) -> bool
[src]
Trait Implementations
Auto Trait Implementations
impl<C> RefUnwindSafe for AnswerResult<C> where
<C as Context>::CanonicalConstrainedSubst: RefUnwindSafe,
<C as Context>::CanonicalConstrainedSubst: RefUnwindSafe,
impl<C> Send for AnswerResult<C> where
<C as Context>::CanonicalConstrainedSubst: Send,
<C as Context>::CanonicalConstrainedSubst: Send,
impl<C> Sync for AnswerResult<C> where
<C as Context>::CanonicalConstrainedSubst: Sync,
<C as Context>::CanonicalConstrainedSubst: Sync,
impl<C> Unpin for AnswerResult<C> where
<C as Context>::CanonicalConstrainedSubst: Unpin,
<C as Context>::CanonicalConstrainedSubst: Unpin,
impl<C> UnwindSafe for AnswerResult<C> where
<C as Context>::CanonicalConstrainedSubst: UnwindSafe,
<C as Context>::CanonicalConstrainedSubst: UnwindSafe,
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,