Struct sway_core::language::parsed::declaration::function::FunctionParameter
source · pub struct FunctionParameter {
pub name: Ident,
pub is_reference: bool,
pub is_mutable: bool,
pub mutability_span: Span,
pub type_info: TypeInfo,
pub type_span: Span,
}
Fields§
§name: Ident
§is_reference: bool
§is_mutable: bool
§mutability_span: Span
§type_info: TypeInfo
§type_span: Span
Trait Implementations§
source§impl Clone for FunctionParameter
impl Clone for FunctionParameter
source§fn clone(&self) -> FunctionParameter
fn clone(&self) -> FunctionParameter
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 more