pub struct FuncParam {
pub name: String,
pub param_type: Option<String>,
}Expand description
One declared parameter of a registered function. param_type is None
for unconstrained Value parameters (the macro accepts any value).
Fields§
§name: String§param_type: Option<String>Trait Implementations§
Auto Trait Implementations§
impl Freeze for FuncParam
impl RefUnwindSafe for FuncParam
impl Send for FuncParam
impl Sync for FuncParam
impl Unpin for FuncParam
impl UnsafeUnpin for FuncParam
impl UnwindSafe for FuncParam
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