Struct erg_compiler::context::TraitInstance
source · [−]Fields
sub_type: Type
sup_trait: Type
Implementations
Trait Implementations
sourceimpl Clone for TraitInstance
impl Clone for TraitInstance
sourcefn clone(&self) -> TraitInstance
fn clone(&self) -> TraitInstance
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 TraitInstance
impl Debug for TraitInstance
sourceimpl Display for TraitInstance
impl Display for TraitInstance
sourceimpl Hash for TraitInstance
impl Hash for TraitInstance
sourceimpl PartialEq<TraitInstance> for TraitInstance
impl PartialEq<TraitInstance> for TraitInstance
sourcefn eq(&self, other: &TraitInstance) -> bool
fn eq(&self, other: &TraitInstance) -> bool
impl Eq for TraitInstance
impl StructuralEq for TraitInstance
impl StructuralPartialEq for TraitInstance
Auto Trait Implementations
impl !RefUnwindSafe for TraitInstance
impl !Send for TraitInstance
impl !Sync for TraitInstance
impl Unpin for TraitInstance
impl !UnwindSafe for TraitInstance
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