Struct libR_sys::R_CMethodDef
source · #[repr(C)]pub struct R_CMethodDef {
pub name: *const c_char,
pub fun: DL_FUNC,
pub numArgs: c_int,
pub types: *mut R_NativePrimitiveArgType,
}
Expand description
These are very similar to those in Rdynpriv.h, but we maintain them separately to give us more freedom to do some computations on the internal versions that are derived from these definitions.
Fields§
§name: *const c_char
§fun: DL_FUNC
§numArgs: c_int
§types: *mut R_NativePrimitiveArgType
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 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 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 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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)