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 for IntersectionTypeObj
impl PartialEq for IntersectionTypeObj
impl Eq for IntersectionTypeObj
impl StructuralPartialEq for IntersectionTypeObj
Auto Trait Implementations§
impl Freeze for IntersectionTypeObj
impl RefUnwindSafe for IntersectionTypeObj
impl Send for IntersectionTypeObj
impl Sync for IntersectionTypeObj
impl Unpin for IntersectionTypeObj
impl UnwindSafe for IntersectionTypeObj
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)