Struct erg_compiler::hir::NonDefaultParamSignature
source · pub struct NonDefaultParamSignature {
pub raw: NonDefaultParamSignature,
pub vi: VarInfo,
pub t_spec_as_expr: Option<Expr>,
}
Expand description
Once the default_value is set to Some, all subsequent values must be Some
Fields§
§raw: NonDefaultParamSignature
§vi: VarInfo
§t_spec_as_expr: Option<Expr>
Implementations§
Trait Implementations§
source§impl Clone for NonDefaultParamSignature
impl Clone for NonDefaultParamSignature
source§fn clone(&self) -> NonDefaultParamSignature
fn clone(&self) -> NonDefaultParamSignature
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for NonDefaultParamSignature
impl Debug for NonDefaultParamSignature
source§impl Display for NonDefaultParamSignature
impl Display for NonDefaultParamSignature
source§impl Hash for NonDefaultParamSignature
impl Hash for NonDefaultParamSignature
source§impl Locational for NonDefaultParamSignature
impl Locational for NonDefaultParamSignature
source§impl PartialEq for NonDefaultParamSignature
impl PartialEq for NonDefaultParamSignature
source§fn eq(&self, other: &NonDefaultParamSignature) -> bool
fn eq(&self, other: &NonDefaultParamSignature) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for NonDefaultParamSignature
impl StructuralPartialEq for NonDefaultParamSignature
Auto Trait Implementations§
impl RefUnwindSafe for NonDefaultParamSignature
impl Send for NonDefaultParamSignature
impl Sync for NonDefaultParamSignature
impl Unpin for NonDefaultParamSignature
impl UnwindSafe for NonDefaultParamSignature
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