pub struct FunctionParameter {
pub name: Identifier,
pub ty: Ty,
}
Fields§
§name: Identifier
§ty: Ty
Trait Implementations§
Source§impl Clone for FunctionParameter
impl Clone for FunctionParameter
Source§fn clone(&self) -> FunctionParameter
fn clone(&self) -> FunctionParameter
Returns a duplicate 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 PrettyPrint for FunctionParameter
impl PrettyPrint for FunctionParameter
fn pretty_print(&self, interner: &SymbolInterner, indentation: usize) -> String
impl Copy for FunctionParameter
Auto Trait Implementations§
impl Freeze for FunctionParameter
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