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