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