Struct erg_compiler::context::TraitImpl
source · pub struct TraitImpl {
pub sub_type: Type,
pub sup_trait: Type,
pub declared_in: Option<NormalizedPathBuf>,
}
Fields§
§sub_type: Type
§sup_trait: Type
§declared_in: Option<NormalizedPathBuf>
Implementations§
Trait Implementations§
impl Eq for TraitImpl
Auto Trait Implementations§
impl Freeze for TraitImpl
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)