[−][src]Struct gluon_check::unify::UnifierState
Fields
state: S
unifier: 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]
T: Unifiable<S> + PartialEq + Clone + Display + 'e,
T::Variable: Clone,
T::Factory: Clone,
fn report_error(&mut self, error: Error<T::Error, T>)
[src]
fn try_match_res(
&mut self,
l_orig: &T,
r_orig: &T
) -> Result<Option<T>, Error<T::Error, T>>
[src]
&mut self,
l_orig: &T,
r_orig: &T
) -> Result<Option<T>, Error<T::Error, T>>
fn error_type(&self) -> T
[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,
S: Send,
U: Send,
impl<S, U: ?Sized> Sync for UnifierState<S, U> where
S: Sync,
U: Sync,
S: Sync,
U: Sync,
Blanket Implementations
impl<T, U> Into for T where
U: From<T>,
[src]
U: From<T>,
impl<T> From for T
[src]
impl<T, U> TryFrom 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> Borrow for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> BorrowMut for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T, U> TryInto for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,