Struct erg_compiler::ty::value::SubsumedTypeObj
source · pub struct SubsumedTypeObj {
pub t: Type,
pub sup: Box<TypeObj>,
pub impls: Option<Box<TypeObj>>,
pub additional: Option<Box<TypeObj>>,
}
Fields§
§t: Type
§sup: Box<TypeObj>
§impls: Option<Box<TypeObj>>
§additional: Option<Box<TypeObj>>
Implementations§
Trait Implementations§
source§impl Clone for SubsumedTypeObj
impl Clone for SubsumedTypeObj
source§fn clone(&self) -> SubsumedTypeObj
fn clone(&self) -> SubsumedTypeObj
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 SubsumedTypeObj
impl Debug for SubsumedTypeObj
source§impl Hash for SubsumedTypeObj
impl Hash for SubsumedTypeObj
source§impl PartialEq<SubsumedTypeObj> for SubsumedTypeObj
impl PartialEq<SubsumedTypeObj> for SubsumedTypeObj
source§fn eq(&self, other: &SubsumedTypeObj) -> bool
fn eq(&self, other: &SubsumedTypeObj) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for SubsumedTypeObj
impl StructuralEq for SubsumedTypeObj
impl StructuralPartialEq for SubsumedTypeObj
Auto Trait Implementations§
impl !RefUnwindSafe for SubsumedTypeObj
impl !Send for SubsumedTypeObj
impl !Sync for SubsumedTypeObj
impl Unpin for SubsumedTypeObj
impl !UnwindSafe for SubsumedTypeObj
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