[][src]Struct gluon_check::unify::UnifierState

pub struct UnifierState<S, U: ?Sized> {
    pub state: S,
    pub unifier: U,
}

Fields

state: Sunifier: U

Trait Implementations

impl<'e, S, T> Unifier<S, T> for UnifierState<S, Unify<'e, T, T::Error>> where
    T: Unifiable<S> + PartialEq + Clone + Display + 'e,
    T::Variable: Clone,
    T::Factory: Clone
[src]

fn try_match(&mut self, l: &Type, r: &Type) -> Option<Type>[src]

Attempt to unify l and r using the strategy of Self.

fn allow_returned_type_replacement(&self) -> bool[src]

true if the returned type can be replaced by the caller

Auto Trait Implementations

impl<S, U: ?Sized> Send for UnifierState<S, U> where
    S: Send,
    U: Send

impl<S, U: ?Sized> Sync for UnifierState<S, U> where
    S: Sync,
    U: Sync

Blanket Implementations

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

impl<T> From for T[src]

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

type Error = Infallible

The type returned in the event of a conversion error.

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

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

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

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

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

The type returned in the event of a conversion error.