Trait Relate
pub trait Relate<I>:
TypeFoldable<I>
+ PartialEq
+ Copywhere
I: Interner,{
// Required method
fn relate<R>(
relation: &mut R,
a: Self,
b: Self,
) -> Result<Self, TypeError<I>>
where R: TypeRelation<I>;
}
Required Methods§
fn relate<R>(relation: &mut R, a: Self, b: Self) -> Result<Self, TypeError<I>>where
R: TypeRelation<I>,
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.