Struct erg_compiler::context::TraitImpl
source · pub struct TraitImpl {
pub sub_type: Type,
pub sup_trait: Type,
}
Fields§
§sub_type: Type
§sup_trait: Type
Implementations§
Trait Implementations§
source§impl PartialEq<TraitImpl> for TraitImpl
impl PartialEq<TraitImpl> for TraitImpl
impl Eq for TraitImpl
impl StructuralEq for TraitImpl
impl StructuralPartialEq for TraitImpl
Auto Trait Implementations§
impl RefUnwindSafe for TraitImpl
impl Send for TraitImpl
impl Sync for TraitImpl
impl Unpin for TraitImpl
impl UnwindSafe for TraitImpl
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