#[repr(C)]pub struct Struct_Tcl_HashTable {
pub buckets: *mut *mut Tcl_HashEntry,
pub staticBuckets: [*mut Tcl_HashEntry; 4],
pub numBuckets: c_int,
pub numEntries: c_int,
pub rebuildSize: c_int,
pub downShift: c_int,
pub mask: c_int,
pub keyType: c_int,
pub findProc: Option<extern "C" fn(tablePtr: *mut Tcl_HashTable, key: *const c_char) -> *mut Tcl_HashEntry>,
pub createProc: Option<extern "C" fn(tablePtr: *mut Tcl_HashTable, key: *const c_char, newPtr: *mut c_int) -> *mut Tcl_HashEntry>,
pub typePtr: *const Tcl_HashKeyType,
}Fields§
§buckets: *mut *mut Tcl_HashEntry§staticBuckets: [*mut Tcl_HashEntry; 4]§numBuckets: c_int§numEntries: c_int§rebuildSize: c_int§downShift: c_int§mask: c_int§keyType: c_int§findProc: Option<extern "C" fn(tablePtr: *mut Tcl_HashTable, key: *const c_char) -> *mut Tcl_HashEntry>§createProc: Option<extern "C" fn(tablePtr: *mut Tcl_HashTable, key: *const c_char, newPtr: *mut c_int) -> *mut Tcl_HashEntry>§typePtr: *const Tcl_HashKeyTypeTrait Implementations§
Source§impl Default for Struct_Tcl_HashTable
impl Default for Struct_Tcl_HashTable
Source§fn default() -> Struct_Tcl_HashTable
fn default() -> Struct_Tcl_HashTable
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for Struct_Tcl_HashTable
impl RefUnwindSafe for Struct_Tcl_HashTable
impl !Send for Struct_Tcl_HashTable
impl !Sync for Struct_Tcl_HashTable
impl Unpin for Struct_Tcl_HashTable
impl UnwindSafe for Struct_Tcl_HashTable
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