pub struct MapObj {
pub data: *mut c_void,
pub size: u64,
pub slots: u64,
/* private fields */
}Expand description
Fields§
§data: *mut c_voidPointer to the (opaque) key/value storage region (MapBaseObj::data_).
size: u64Number of entries (MapBaseObj::size_).
slots: u64Number of hash slots; the MSB is a small-map tag (MapBaseObj::slots_).
Trait Implementations§
Source§impl ObjectCore for MapObj
impl ObjectCore for MapObj
Auto Trait Implementations§
impl !Freeze for MapObj
impl RefUnwindSafe for MapObj
impl !Send for MapObj
impl !Sync for MapObj
impl Unpin for MapObj
impl UnsafeUnpin for MapObj
impl UnwindSafe for MapObj
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