Struct sway_core::language::ty::TyFunctionParameter
source · pub struct TyFunctionParameter {
pub name: Ident,
pub is_reference: bool,
pub is_mutable: bool,
pub mutability_span: Span,
pub type_id: TypeId,
pub initial_type_id: TypeId,
pub type_span: Span,
}
Fields§
§name: Ident
§is_reference: bool
§is_mutable: bool
§mutability_span: Span
§type_id: TypeId
§initial_type_id: TypeId
§type_span: Span
Implementations§
Trait Implementations§
source§impl Clone for TyFunctionParameter
impl Clone for TyFunctionParameter
source§fn clone(&self) -> TyFunctionParameter
fn clone(&self) -> TyFunctionParameter
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