Struct rbspy_ruby_structs::ruby_1_9_2_0::st_table
source · [−]#[repr(C)]pub struct st_table {
pub type_: *const st_hash_type,
pub num_bins: st_index_t,
pub _bitfield_1: __BindgenBitfieldUnit<[u8; 8], u64>,
pub bins: *mut *mut st_table_entry,
pub head: *mut st_table_entry,
pub tail: *mut st_table_entry,
}
Fields
type_: *const st_hash_type
num_bins: st_index_t
_bitfield_1: __BindgenBitfieldUnit<[u8; 8], u64>
bins: *mut *mut st_table_entry
head: *mut st_table_entry
tail: *mut st_table_entry
Implementations
sourceimpl st_table
impl st_table
pub fn entries_packed(&self) -> c_uint
pub fn set_entries_packed(&mut self, val: c_uint)
pub fn num_entries(&self) -> st_index_t
pub fn set_num_entries(&mut self, val: st_index_t)
pub fn new_bitfield_1(
entries_packed: c_uint,
num_entries: st_index_t
) -> __BindgenBitfieldUnit<[u8; 8], u64>
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for st_table
impl !Send for st_table
impl !Sync for st_table
impl Unpin for st_table
impl UnwindSafe for st_table
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcepub fn to_owned(&self) -> T
pub fn to_owned(&self) -> T
Creates owned data from borrowed data, usually by cloning. Read more
sourcepub fn clone_into(&self, target: &mut T)
pub fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more