[][src]Enum chalk_solve::solve::SubstitutionResult

pub enum SubstitutionResult<S> {
    Definite(S),
    Ambiguous(S),
    Floundered,
}

Variants

Definite(S)
Ambiguous(S)
Floundered

Implementations

impl<S> SubstitutionResult<S>[src]

pub fn as_ref(&self) -> SubstitutionResult<&S>[src]

pub fn map<U, F: FnOnce(S) -> U>(self, f: F) -> SubstitutionResult<U>[src]

Trait Implementations

impl<S: Debug> Debug for SubstitutionResult<S>[src]

impl<S: Display> Display for SubstitutionResult<S>[src]

Auto Trait Implementations

impl<S> RefUnwindSafe for SubstitutionResult<S> where
    S: RefUnwindSafe

impl<S> Send for SubstitutionResult<S> where
    S: Send

impl<S> Sync for SubstitutionResult<S> where
    S: Sync

impl<S> Unpin for SubstitutionResult<S> where
    S: Unpin

impl<S> UnwindSafe for SubstitutionResult<S> where
    S: UnwindSafe

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Cast for T[src]

impl<T> From<T> for T[src]

impl<T> Instrument for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToString for T where
    T: Display + ?Sized
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.