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 for SubsumedTypeObj
impl PartialEq for SubsumedTypeObj
impl Eq for SubsumedTypeObj
impl StructuralPartialEq for SubsumedTypeObj
Auto Trait Implementations§
impl Freeze for SubsumedTypeObj
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
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
)