Struct simics_api_sys::ht_table_common_t
source · #[repr(C)]pub struct ht_table_common_t {
pub nbuckets: c_uint,
pub bits: c_uint,
pub buckets: *mut *mut ht_entry_common_t,
pub num_elements: c_int,
}
Fields§
§nbuckets: c_uint
size of buckets array; 0 or a power of 2
bits: c_uint
nbuckets > 0 ? log2(nbuckets) : 0
buckets: *mut *mut ht_entry_common_t
array [nbuckets], or NULL
num_elements: c_int
total number of elements
Trait Implementations§
source§impl Clone for ht_table_common_t
impl Clone for ht_table_common_t
source§fn clone(&self) -> ht_table_common_t
fn clone(&self) -> ht_table_common_t
Returns a copy 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 ht_table_common_t
impl Debug for ht_table_common_t
source§impl Default for ht_table_common_t
impl Default for ht_table_common_t
source§impl Hash for ht_table_common_t
impl Hash for ht_table_common_t
source§impl Ord for ht_table_common_t
impl Ord for ht_table_common_t
source§fn cmp(&self, other: &ht_table_common_t) -> Ordering
fn cmp(&self, other: &ht_table_common_t) -> Ordering
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
source§impl PartialEq for ht_table_common_t
impl PartialEq for ht_table_common_t
source§impl PartialOrd for ht_table_common_t
impl PartialOrd for ht_table_common_t
impl Copy for ht_table_common_t
impl Eq for ht_table_common_t
impl StructuralPartialEq for ht_table_common_t
Auto Trait Implementations§
impl Freeze for ht_table_common_t
impl RefUnwindSafe for ht_table_common_t
impl !Send for ht_table_common_t
impl !Sync for ht_table_common_t
impl Unpin for ht_table_common_t
impl UnwindSafe for ht_table_common_t
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)