Struct extendr_api::metadata::Arg
source · [−]pub struct Arg {
pub name: &'static str,
pub arg_type: &'static str,
pub default: Option<&'static str>,
}
Expand description
Metadata function argument.
Fields
name: &'static str
arg_type: &'static str
default: Option<&'static str>
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Arg
impl Send for Arg
impl Sync for Arg
impl Unpin for Arg
impl UnwindSafe for Arg
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more