#[repr(C)]pub struct rb_classext_struct {Show 19 fields
pub iv_ptr: *mut VALUE,
pub const_tbl: *mut rb_id_table,
pub callable_m_tbl: *mut rb_id_table,
pub cc_tbl: *mut rb_id_table,
pub cvc_tbl: *mut rb_id_table,
pub superclass_depth: usize,
pub superclasses: *mut VALUE,
pub subclasses: *mut rb_subclass_entry,
pub subclass_entry: *mut rb_subclass_entry,
pub module_subclass_entry: *mut rb_subclass_entry,
pub origin_: VALUE,
pub refined_class: VALUE,
pub as_: rb_classext_struct__bindgen_ty_1,
pub includer: VALUE,
pub max_iv_count: attr_index_t,
pub variation_count: c_uchar,
pub _bitfield_align_1: [u8; 0],
pub _bitfield_1: __BindgenBitfieldUnit<[u8; 1]>,
pub classpath: VALUE,
}
Fields§
§iv_ptr: *mut VALUE
§const_tbl: *mut rb_id_table
§callable_m_tbl: *mut rb_id_table
§cc_tbl: *mut rb_id_table
§cvc_tbl: *mut rb_id_table
§superclass_depth: usize
§superclasses: *mut VALUE
§subclasses: *mut rb_subclass_entry
§subclass_entry: *mut rb_subclass_entry
§module_subclass_entry: *mut rb_subclass_entry
§origin_: VALUE
§refined_class: VALUE
§as_: rb_classext_struct__bindgen_ty_1
§includer: VALUE
§max_iv_count: attr_index_t
§variation_count: c_uchar
§_bitfield_align_1: [u8; 0]
§_bitfield_1: __BindgenBitfieldUnit<[u8; 1]>
§classpath: VALUE
Implementations§
Source§impl rb_classext_struct
impl rb_classext_struct
pub fn permanent_classpath(&self) -> bool
pub fn set_permanent_classpath(&mut self, val: bool)
pub unsafe fn permanent_classpath_raw(this: *const Self) -> bool
pub unsafe fn set_permanent_classpath_raw(this: *mut Self, val: bool)
pub fn cloned(&self) -> bool
pub fn set_cloned(&mut self, val: bool)
pub unsafe fn cloned_raw(this: *const Self) -> bool
pub unsafe fn set_cloned_raw(this: *mut Self, val: bool)
pub fn new_bitfield_1( permanent_classpath: bool, cloned: bool, ) -> __BindgenBitfieldUnit<[u8; 1]>
Trait Implementations§
Source§impl Clone for rb_classext_struct
impl Clone for rb_classext_struct
Source§fn clone(&self) -> rb_classext_struct
fn clone(&self) -> rb_classext_struct
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_classext_struct
impl Debug for rb_classext_struct
impl Copy for rb_classext_struct
Auto Trait Implementations§
impl Freeze for rb_classext_struct
impl RefUnwindSafe for rb_classext_struct
impl !Send for rb_classext_struct
impl !Sync for rb_classext_struct
impl Unpin for rb_classext_struct
impl UnwindSafe for rb_classext_struct
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