#[repr(C)]pub struct MapVTable {
pub init_in_place_with_capacity_fn: MapInitInPlaceWithCapacityFn,
pub insert_fn: MapInsertFn,
pub len_fn: MapLenFn,
pub contains_key_fn: MapContainsKeyFn,
pub get_value_ptr_fn: MapGetValuePtrFn,
pub iter_vtable: IterVTable<(PtrConst<'static>, PtrConst<'static>)>,
}
Expand description
Virtual table for a Map<K, V>
Fields§
§init_in_place_with_capacity_fn: MapInitInPlaceWithCapacityFn
§insert_fn: MapInsertFn
cf. MapInsertFn
len_fn: MapLenFn
cf. MapLenFn
contains_key_fn: MapContainsKeyFn
cf. MapContainsKeyFn
get_value_ptr_fn: MapGetValuePtrFn
cf. MapGetValuePtrFn
iter_vtable: IterVTable<(PtrConst<'static>, PtrConst<'static>)>
Virtual table for map iterator operations
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for MapVTable
impl RefUnwindSafe for MapVTable
impl Send for MapVTable
impl Sync for MapVTable
impl Unpin for MapVTable
impl UnwindSafe for MapVTable
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