pub struct FunctionArg {
pub name: String,
pub value: Option<u64>,
}
Expand description
A function argument.
Fields§
§name: String
The name of the argument (usually actually just the type).
value: Option<u64>
The value of the argument.
Trait Implementations§
Source§impl Clone for FunctionArg
impl Clone for FunctionArg
Source§fn clone(&self) -> FunctionArg
fn clone(&self) -> FunctionArg
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 moreAuto Trait Implementations§
impl Freeze for FunctionArg
impl RefUnwindSafe for FunctionArg
impl Send for FunctionArg
impl Sync for FunctionArg
impl Unpin for FunctionArg
impl UnwindSafe for FunctionArg
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