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