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
sourceimpl Clone for InheritedTypeObj
impl Clone for InheritedTypeObj
sourcefn clone(&self) -> InheritedTypeObj
fn clone(&self) -> InheritedTypeObj
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for InheritedTypeObj
impl Debug for InheritedTypeObj
sourceimpl Hash for InheritedTypeObj
impl Hash for InheritedTypeObj
sourceimpl PartialEq<InheritedTypeObj> for InheritedTypeObj
impl PartialEq<InheritedTypeObj> for InheritedTypeObj
sourcefn eq(&self, other: &InheritedTypeObj) -> bool
fn eq(&self, other: &InheritedTypeObj) -> bool
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
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more