pub struct FunctionArgumentData {
pub pat_type: PatType,
pub js_name: Option<String>,
pub js_type: Option<String>,
pub desc: Option<String>,
}
Expand description
Information about a function’s argument
Fields§
§pat_type: PatType
Specifies the type of the function’s argument
js_name: Option<String>
Specifies the JS argument name override
js_type: Option<String>
Specifies the JS function argument type override
desc: Option<String>
Specifies the argument description
Trait Implementations§
Source§impl Clone for FunctionArgumentData
impl Clone for FunctionArgumentData
Source§fn clone(&self) -> FunctionArgumentData
fn clone(&self) -> FunctionArgumentData
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 moreAuto Trait Implementations§
impl Freeze for FunctionArgumentData
impl RefUnwindSafe for FunctionArgumentData
impl !Send for FunctionArgumentData
impl !Sync for FunctionArgumentData
impl Unpin for FunctionArgumentData
impl UnwindSafe for FunctionArgumentData
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