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