[−][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]
fn allow_returned_type_replacement(&self) -> bool
[src]
Auto Trait Implementations
impl<S, U: ?Sized> RefUnwindSafe for UnifierState<S, U> where
S: RefUnwindSafe,
U: RefUnwindSafe,
S: RefUnwindSafe,
U: RefUnwindSafe,
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,
impl<S, U: ?Sized> Unpin for UnifierState<S, U> where
S: Unpin,
U: Unpin,
S: Unpin,
U: Unpin,
impl<S, U: ?Sized> UnwindSafe for UnifierState<S, U> where
S: UnwindSafe,
U: UnwindSafe,
S: UnwindSafe,
U: UnwindSafe,
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<Id> AsId<Id> for Id where
Id: ?Sized,
[src]
Id: ?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,
pub 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.
pub 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>,