#[repr(C)]pub struct rb_args_info {Show 13 fields
pub pre_init: *mut NODE,
pub post_init: *mut NODE,
pub pre_args_num: c_int,
pub post_args_num: c_int,
pub first_post_arg: ID,
pub rest_arg: ID,
pub block_arg: ID,
pub kw_args: *mut NODE,
pub kw_rest_arg: *mut NODE,
pub opt_args: *mut NODE,
pub _bitfield_align_1: [u8; 0],
pub _bitfield_1: __BindgenBitfieldUnit<[u8; 1]>,
pub imemo: VALUE,
}
Fields§
§pre_init: *mut NODE
§post_init: *mut NODE
§pre_args_num: c_int
§post_args_num: c_int
§first_post_arg: ID
§rest_arg: ID
§block_arg: ID
§kw_args: *mut NODE
§kw_rest_arg: *mut NODE
§opt_args: *mut NODE
§_bitfield_align_1: [u8; 0]
§_bitfield_1: __BindgenBitfieldUnit<[u8; 1]>
§imemo: VALUE
Implementations§
Source§impl rb_args_info
impl rb_args_info
pub fn no_kwarg(&self) -> c_uint
pub fn set_no_kwarg(&mut self, val: c_uint)
pub unsafe fn no_kwarg_raw(this: *const Self) -> c_uint
pub unsafe fn set_no_kwarg_raw(this: *mut Self, val: c_uint)
pub fn ruby2_keywords(&self) -> c_uint
pub fn set_ruby2_keywords(&mut self, val: c_uint)
pub unsafe fn ruby2_keywords_raw(this: *const Self) -> c_uint
pub unsafe fn set_ruby2_keywords_raw(this: *mut Self, val: c_uint)
pub fn new_bitfield_1( no_kwarg: c_uint, ruby2_keywords: c_uint, ) -> __BindgenBitfieldUnit<[u8; 1]>
Trait Implementations§
Source§impl Clone for rb_args_info
impl Clone for rb_args_info
Source§fn clone(&self) -> rb_args_info
fn clone(&self) -> rb_args_info
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 rb_args_info
impl Debug for rb_args_info
impl Copy for rb_args_info
Auto Trait Implementations§
impl Freeze for rb_args_info
impl RefUnwindSafe for rb_args_info
impl !Send for rb_args_info
impl !Sync for rb_args_info
impl Unpin for rb_args_info
impl UnwindSafe for rb_args_info
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