pub struct FunctionParameter {
pub meta: Option<Meta>,
pub name: String,
pub type_handle: TypeHandle,
}
Fields§
§meta: Option<Meta>
§name: String
§type_handle: TypeHandle
Implementations§
Source§impl FunctionParameter
impl FunctionParameter
pub fn new(name: impl ToString, type_handle: TypeHandle) -> Self
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 PartialEq for FunctionParameter
impl PartialEq for FunctionParameter
impl StructuralPartialEq 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