Struct erg_compiler::ty::value::GenTypeObj
source · [−]pub struct GenTypeObj {
pub kind: TypeKind,
pub t: Type,
pub require_or_sup: Box<TypeObj>,
pub impls: Option<Box<TypeObj>>,
pub additional: Option<Box<TypeObj>>,
}
Expand description
Class
Fields
kind: TypeKind
t: Type
require_or_sup: Box<TypeObj>
impls: Option<Box<TypeObj>>
additional: Option<Box<TypeObj>>
Implementations
Trait Implementations
sourceimpl Clone for GenTypeObj
impl Clone for GenTypeObj
sourcefn clone(&self) -> GenTypeObj
fn clone(&self) -> GenTypeObj
Returns a copy of the value. Read more
1.0.0 · sourceconst fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for GenTypeObj
impl Debug for GenTypeObj
sourceimpl Display for GenTypeObj
impl Display for GenTypeObj
sourceimpl Hash for GenTypeObj
impl Hash for GenTypeObj
sourceimpl PartialEq<GenTypeObj> for GenTypeObj
impl PartialEq<GenTypeObj> for GenTypeObj
sourcefn eq(&self, other: &GenTypeObj) -> bool
fn eq(&self, other: &GenTypeObj) -> bool
impl Eq for GenTypeObj
impl StructuralEq for GenTypeObj
impl StructuralPartialEq for GenTypeObj
Auto Trait Implementations
impl !RefUnwindSafe for GenTypeObj
impl !Send for GenTypeObj
impl !Sync for GenTypeObj
impl Unpin for GenTypeObj
impl !UnwindSafe for GenTypeObj
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