Struct erg_compiler::ty::value::TraitTypeObj
source · pub struct TraitTypeObj {
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 TraitTypeObj
impl Clone for TraitTypeObj
sourcefn clone(&self) -> TraitTypeObj
fn clone(&self) -> TraitTypeObj
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 TraitTypeObj
impl Debug for TraitTypeObj
sourceimpl Hash for TraitTypeObj
impl Hash for TraitTypeObj
sourceimpl PartialEq<TraitTypeObj> for TraitTypeObj
impl PartialEq<TraitTypeObj> for TraitTypeObj
sourcefn eq(&self, other: &TraitTypeObj) -> bool
fn eq(&self, other: &TraitTypeObj) -> bool
impl Eq for TraitTypeObj
impl StructuralEq for TraitTypeObj
impl StructuralPartialEq for TraitTypeObj
Auto Trait Implementations
impl !RefUnwindSafe for TraitTypeObj
impl !Send for TraitTypeObj
impl !Sync for TraitTypeObj
impl Unpin for TraitTypeObj
impl !UnwindSafe for TraitTypeObj
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