Struct rbspy_ruby_structs::ruby_2_3_3::st_table
source · [−]#[repr(C)]pub struct st_table {
pub type_: *const st_hash_type,
pub num_bins: st_index_t,
pub _bitfield_align_1: [u64; 0],
pub _bitfield_1: __BindgenBitfieldUnit<[u8; 8]>,
pub as_: st_table__bindgen_ty_1,
}
Fields
type_: *const st_hash_type
num_bins: st_index_t
_bitfield_align_1: [u64; 0]
_bitfield_1: __BindgenBitfieldUnit<[u8; 8]>
as_: st_table__bindgen_ty_1
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]>
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