Struct erg_compiler::ty::value::InheritedTypeObj
source · pub struct InheritedTypeObj {
pub t: Type,
pub sup: Box<TypeObj>,
pub impls: Option<Box<TypeObj>>,
pub additional: Option<Box<TypeObj>>,
}
Fields§
§t: Type
§sup: Box<TypeObj>
§impls: Option<Box<TypeObj>>
§additional: Option<Box<TypeObj>>
Implementations§
Trait Implementations§
source§impl Clone for InheritedTypeObj
impl Clone for InheritedTypeObj
source§fn clone(&self) -> InheritedTypeObj
fn clone(&self) -> InheritedTypeObj
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 InheritedTypeObj
impl Debug for InheritedTypeObj
source§impl Hash for InheritedTypeObj
impl Hash for InheritedTypeObj
source§impl PartialEq<InheritedTypeObj> for InheritedTypeObj
impl PartialEq<InheritedTypeObj> for InheritedTypeObj
source§fn eq(&self, other: &InheritedTypeObj) -> bool
fn eq(&self, other: &InheritedTypeObj) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.