#[repr(C)]pub struct R_CMethodDef {
pub name: *const c_char,
pub fun: DL_FUNC,
pub numArgs: c_int,
pub types: *const R_NativePrimitiveArgType,
}Expand description
Method definition for .C interface routines.
Used to register C functions callable via .C() from R.
Fields§
§name: *const c_charExported symbol name.
fun: DL_FUNCFunction pointer implementing the routine.
numArgs: c_intDeclared arity.
types: *const R_NativePrimitiveArgTypeOptional array of argument types for type checking. May be null.
Trait Implementations§
Source§impl Clone for R_CMethodDef
impl Clone for R_CMethodDef
Source§fn clone(&self) -> R_CMethodDef
fn clone(&self) -> R_CMethodDef
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 moreSource§impl Debug for R_CMethodDef
impl Debug for R_CMethodDef
impl Copy for R_CMethodDef
Auto Trait Implementations§
impl Freeze for R_CMethodDef
impl RefUnwindSafe for R_CMethodDef
impl !Send for R_CMethodDef
impl !Sync for R_CMethodDef
impl Unpin for R_CMethodDef
impl UnsafeUnpin for R_CMethodDef
impl UnwindSafe for R_CMethodDef
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