Struct erg_compiler::hir::VarSignature
source · [−]pub struct VarSignature {
pub pat: VarPattern,
pub t: Type,
}
Fields
pat: VarPattern
t: Type
Implementations
sourceimpl VarSignature
impl VarSignature
Trait Implementations
sourceimpl Clone for VarSignature
impl Clone for VarSignature
sourcefn clone(&self) -> VarSignature
fn clone(&self) -> VarSignature
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 more
sourceimpl Debug for VarSignature
impl Debug for VarSignature
sourceimpl Display for VarSignature
impl Display for VarSignature
sourceimpl Hash for VarSignature
impl Hash for VarSignature
Auto Trait Implementations
impl !RefUnwindSafe for VarSignature
impl !Send for VarSignature
impl !Sync for VarSignature
impl Unpin for VarSignature
impl !UnwindSafe for VarSignature
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
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