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