#[repr(C)]pub struct rb_classext_struct {Show 21 fields
pub box_: *const rb_box_t,
pub super_: VALUE,
pub fields_obj: VALUE,
pub m_tbl: *mut rb_id_table,
pub const_tbl: *mut rb_id_table,
pub callable_m_tbl: *mut rb_id_table,
pub cc_tbl: VALUE,
pub cvc_tbl: *mut rb_id_table,
pub superclasses: *mut VALUE,
pub subclasses: *mut rb_subclass_anchor,
pub box_super_subclasses: *mut rb_box_subclasses_t,
pub box_module_subclasses: *mut rb_box_subclasses_t,
pub origin_: VALUE,
pub refined_class: VALUE,
pub as_: rb_classext_struct__bindgen_ty_1,
pub max_iv_count: attr_index_t,
pub superclass_depth: u16,
pub variation_count: c_uchar,
pub _bitfield_align_1: [u8; 0],
pub _bitfield_1: __BindgenBitfieldUnit<[u8; 1]>,
pub classpath: VALUE,
}Fields§
§box_: *const rb_box_t§super_: VALUE§fields_obj: VALUE§m_tbl: *mut rb_id_table§const_tbl: *mut rb_id_table§callable_m_tbl: *mut rb_id_table§cc_tbl: VALUE§cvc_tbl: *mut rb_id_table§superclasses: *mut VALUE§subclasses: *mut rb_subclass_anchor§box_super_subclasses: *mut rb_box_subclasses_t§box_module_subclasses: *mut rb_box_subclasses_t§origin_: VALUE§refined_class: VALUE§as_: rb_classext_struct__bindgen_ty_1§max_iv_count: attr_index_t§superclass_depth: u16§variation_count: c_uchar§_bitfield_align_1: [u8; 0]§_bitfield_1: __BindgenBitfieldUnit<[u8; 1]>§classpath: VALUEImplementations§
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 iclass_is_origin(&self) -> bool
pub fn set_iclass_is_origin(&mut self, val: bool)
pub unsafe fn iclass_is_origin_raw(this: *const Self) -> bool
pub unsafe fn set_iclass_is_origin_raw(this: *mut Self, val: bool)
pub fn superclasses_with_self(&self) -> bool
pub fn set_superclasses_with_self(&mut self, val: bool)
pub unsafe fn superclasses_with_self_raw(this: *const Self) -> bool
pub unsafe fn set_superclasses_with_self_raw(this: *mut Self, val: bool)
pub fn new_bitfield_1( permanent_classpath: bool, cloned: bool, shared_const_tbl: bool, iclass_is_origin: bool, iclass_origin_shared_mtbl: bool, superclasses_with_self: 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