#[repr(C)]pub 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<unsafe extern "C" fn(tablePtr: *mut Tcl_HashTable, key: *const c_char) -> *mut Tcl_HashEntry>,
pub createProc: Option<unsafe 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<unsafe extern "C" fn(tablePtr: *mut Tcl_HashTable, key: *const c_char) -> *mut Tcl_HashEntry>
§createProc: Option<unsafe extern "C" fn(tablePtr: *mut Tcl_HashTable, key: *const c_char, newPtr: *mut c_int) -> *mut Tcl_HashEntry>
§typePtr: *const Tcl_HashKeyType
Trait Implementations§
Source§impl Clone for Tcl_HashTable
impl Clone for Tcl_HashTable
Source§fn clone(&self) -> Tcl_HashTable
fn clone(&self) -> Tcl_HashTable
Returns a duplicate of the value. Read more
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for Tcl_HashTable
impl Debug for Tcl_HashTable
impl Copy for Tcl_HashTable
Auto Trait Implementations§
impl Freeze for Tcl_HashTable
impl RefUnwindSafe for Tcl_HashTable
impl !Send for Tcl_HashTable
impl !Sync for Tcl_HashTable
impl Unpin for Tcl_HashTable
impl UnwindSafe for 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