Struct erg_compiler::context::TypeRelationInstance
source · Fields§
§sub_type: Type
§sup_trait: Type
Implementations§
Trait Implementations§
source§impl Clone for TypeRelationInstance
impl Clone for TypeRelationInstance
source§fn clone(&self) -> TypeRelationInstance
fn clone(&self) -> TypeRelationInstance
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for TypeRelationInstance
impl Debug for TypeRelationInstance
source§impl Display for TypeRelationInstance
impl Display for TypeRelationInstance
source§impl Hash for TypeRelationInstance
impl Hash for TypeRelationInstance
source§impl PartialEq<TypeRelationInstance> for TypeRelationInstance
impl PartialEq<TypeRelationInstance> for TypeRelationInstance
source§fn eq(&self, other: &TypeRelationInstance) -> bool
fn eq(&self, other: &TypeRelationInstance) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.