Enum erg_compiler::context::ClassDefType
source · [−]Variants
Simple(Type)
ImplTrait
Implementations
sourceimpl ClassDefType
impl ClassDefType
pub const fn impl_trait(class: Type, impl_trait: Type) -> Self
Trait Implementations
sourceimpl Clone for ClassDefType
impl Clone for ClassDefType
sourcefn clone(&self) -> ClassDefType
fn clone(&self) -> ClassDefType
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 ClassDefType
impl Debug for ClassDefType
sourceimpl Display for ClassDefType
impl Display for ClassDefType
sourceimpl Hash for ClassDefType
impl Hash for ClassDefType
sourceimpl PartialEq<ClassDefType> for ClassDefType
impl PartialEq<ClassDefType> for ClassDefType
sourcefn eq(&self, other: &ClassDefType) -> bool
fn eq(&self, other: &ClassDefType) -> bool
impl Eq for ClassDefType
impl StructuralEq for ClassDefType
impl StructuralPartialEq for ClassDefType
Auto Trait Implementations
impl !RefUnwindSafe for ClassDefType
impl !Send for ClassDefType
impl !Sync for ClassDefType
impl Unpin for ClassDefType
impl !UnwindSafe for ClassDefType
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