Struct erg_compiler::ty::value::ClassTypeObj
source · pub struct ClassTypeObj {
pub t: Type,
pub require: Box<TypeObj>,
pub impls: Option<Box<TypeObj>>,
}
Fields
t: Type
require: Box<TypeObj>
impls: Option<Box<TypeObj>>
Implementations
Trait Implementations
sourceimpl Clone for ClassTypeObj
impl Clone for ClassTypeObj
sourcefn clone(&self) -> ClassTypeObj
fn clone(&self) -> ClassTypeObj
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 ClassTypeObj
impl Debug for ClassTypeObj
sourceimpl Hash for ClassTypeObj
impl Hash for ClassTypeObj
sourceimpl PartialEq<ClassTypeObj> for ClassTypeObj
impl PartialEq<ClassTypeObj> for ClassTypeObj
sourcefn eq(&self, other: &ClassTypeObj) -> bool
fn eq(&self, other: &ClassTypeObj) -> bool
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
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