[−][src]Enum gluon_check::unify::Error
Variants
TypeMismatch(T, T)
Substitution(Error<T>)
Other(E)
Methods
impl<I, T> Error<TypeError<I, T>, T>
[src]
pub fn map_t<U>(self, f: &mut impl FnMut(T) -> U) -> Error<TypeError<I, U>, U> where
T: Clone,
[src]
T: Clone,
impl<I, T> Error<KindError<I, T>, ArcKind>
[src]
pub fn map_t<U>(
self,
f: &mut impl FnMut(T) -> U
) -> Error<KindError<I, U>, ArcKind> where
T: Clone,
[src]
self,
f: &mut impl FnMut(T) -> U
) -> Error<KindError<I, U>, ArcKind> where
T: Clone,
Trait Implementations
impl<E: PartialEq, T: PartialEq> PartialEq<Error<E, T>> for Error<E, T>
[src]
impl<I, T> From<Error<KindError<I, T>, ArcKind>> for TypeError<I, T>
[src]
fn from(e: KindCheckError<I, T>) -> Self
[src]
impl<T, E> From<Error<T>> for Error<E, T>
[src]
impl<E, T> Display for Error<E, T> where
T: Display + for<'a> ToDoc<'a, Arena<'a, ()>, (), ()>,
E: Display,
[src]
T: Display + for<'a> ToDoc<'a, Arena<'a, ()>, (), ()>,
E: Display,
impl<E: Debug, T: Debug> Debug for Error<E, T>
[src]
Auto Trait Implementations
impl<E, T> Send for Error<E, T> where
E: Send,
T: Send,
E: Send,
T: Send,
impl<E, T> Sync for Error<E, T> where
E: Sync,
T: Sync,
E: Sync,
T: Sync,
Blanket Implementations
impl<T, U> Into for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToString for T where
T: Display + ?Sized,
[src]
T: Display + ?Sized,
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>,