Struct semantic_analyzer::types::FunctionParameter
source · pub struct FunctionParameter {
pub name: ParameterName,
pub parameter_type: Type,
}
Fields§
§name: ParameterName
§parameter_type: Type
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 moresource§impl Debug for FunctionParameter
impl Debug for FunctionParameter
source§impl From<FunctionParameter<'_>> for FunctionParameter
impl From<FunctionParameter<'_>> for FunctionParameter
source§fn from(value: FunctionParameter<'_>) -> Self
fn from(value: FunctionParameter<'_>) -> Self
Converts to this type from the input type.
source§impl PartialEq<FunctionParameter> for FunctionParameter
impl PartialEq<FunctionParameter> for FunctionParameter
source§fn eq(&self, other: &FunctionParameter) -> bool
fn eq(&self, other: &FunctionParameter) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for FunctionParameter
impl StructuralEq for FunctionParameter
impl StructuralPartialEq for FunctionParameter
Auto Trait Implementations§
impl RefUnwindSafe for FunctionParameter
impl Send for FunctionParameter
impl Sync for FunctionParameter
impl Unpin for FunctionParameter
impl UnwindSafe for FunctionParameter
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