Struct erg_parser::ast::DefaultParamSignature
source · [−]pub struct DefaultParamSignature {
pub pat: ParamPattern,
pub t_spec: Option<TypeSpec>,
pub val: ConstExpr,
}
Fields
pat: ParamPattern
t_spec: Option<TypeSpec>
val: ConstExpr
Implementations
Trait Implementations
sourceimpl Clone for DefaultParamSignature
impl Clone for DefaultParamSignature
sourcefn clone(&self) -> DefaultParamSignature
fn clone(&self) -> DefaultParamSignature
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 DefaultParamSignature
impl Debug for DefaultParamSignature
sourceimpl Display for DefaultParamSignature
impl Display for DefaultParamSignature
sourceimpl Hash for DefaultParamSignature
impl Hash for DefaultParamSignature
sourceimpl Locational for DefaultParamSignature
impl Locational for DefaultParamSignature
sourceimpl NestedDisplay for DefaultParamSignature
impl NestedDisplay for DefaultParamSignature
sourceimpl ParamSig for &DefaultParamSignature
impl ParamSig for &DefaultParamSignature
sourceimpl ParamSig for DefaultParamSignature
impl ParamSig for DefaultParamSignature
sourceimpl PartialEq<DefaultParamSignature> for DefaultParamSignature
impl PartialEq<DefaultParamSignature> for DefaultParamSignature
sourcefn eq(&self, other: &DefaultParamSignature) -> bool
fn eq(&self, other: &DefaultParamSignature) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &DefaultParamSignature) -> bool
fn ne(&self, other: &DefaultParamSignature) -> bool
This method tests for !=
.
impl Eq for DefaultParamSignature
impl StructuralEq for DefaultParamSignature
impl StructuralPartialEq for DefaultParamSignature
Auto Trait Implementations
impl !RefUnwindSafe for DefaultParamSignature
impl !Send for DefaultParamSignature
impl !Sync for DefaultParamSignature
impl Unpin for DefaultParamSignature
impl !UnwindSafe for DefaultParamSignature
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