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_fn: MapIterFn,
pub iter_vtable_fn: MapIterVTable,
}Expand description
Virtual table for a Map<K, V>
Fields§
§init_in_place_with_capacity_fn: MapInitInPlaceWithCapacityFn§insert_fn: MapInsertFncf. MapInsertFn
len_fn: MapLenFncf. MapLenFn
contains_key_fn: MapContainsKeyFncf. MapContainsKeyFn
get_value_ptr_fn: MapGetValuePtrFncf. MapGetValuePtrFn
iter_fn: MapIterFncf. MapIterFn
iter_vtable_fn: MapIterVTableVirtual table for map iterator operations
Trait Implementations§
impl Copy for MapVTable
impl Eq for MapVTable
impl StructuralPartialEq for MapVTable
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