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