pub struct MapVTableBuilder { /* private fields */ }Expand description
Builder for the vtable
Implementations§
Source§impl MapVTableBuilder
impl MapVTableBuilder
Sourcepub const fn init_in_place_with_capacity(
self,
value: MapInitInPlaceWithCapacityFn,
) -> Self
pub const fn init_in_place_with_capacity( self, value: MapInitInPlaceWithCapacityFn, ) -> Self
Set the init_in_place_with_capacity field
Sourcepub const fn insert(self, value: MapInsertFn) -> Self
pub const fn insert(self, value: MapInsertFn) -> Self
Set the insert field
Sourcepub const fn contains_key(self, value: MapContainsKeyFn) -> Self
pub const fn contains_key(self, value: MapContainsKeyFn) -> Self
Set the contains_key field
Sourcepub const fn get_value_ptr(self, value: MapGetValuePtrFn) -> Self
pub const fn get_value_ptr(self, value: MapGetValuePtrFn) -> Self
Set the get_value_ptr field
Sourcepub const fn iter_vtable(self, value: IterVTable<(PtrConst, PtrConst)>) -> Self
pub const fn iter_vtable(self, value: IterVTable<(PtrConst, PtrConst)>) -> Self
Set the iter_vtable field
Sourcepub const fn from_pair_slice(self, value: Option<MapFromPairSliceFn>) -> Self
pub const fn from_pair_slice(self, value: Option<MapFromPairSliceFn>) -> Self
Set the from_pair_slice field
Sourcepub const fn pair_stride(self, value: usize) -> Self
pub const fn pair_stride(self, value: usize) -> Self
Set the pair_stride field
Sourcepub const fn value_offset_in_pair(self, value: usize) -> Self
pub const fn value_offset_in_pair(self, value: usize) -> Self
Set the value_offset_in_pair field
Trait Implementations§
Source§impl Clone for MapVTableBuilder
impl Clone for MapVTableBuilder
Source§fn clone(&self) -> MapVTableBuilder
fn clone(&self) -> MapVTableBuilder
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for MapVTableBuilder
impl Debug for MapVTableBuilder
impl Copy for MapVTableBuilder
Auto Trait Implementations§
impl Freeze for MapVTableBuilder
impl RefUnwindSafe for MapVTableBuilder
impl Send for MapVTableBuilder
impl Sync for MapVTableBuilder
impl Unpin for MapVTableBuilder
impl UnwindSafe for MapVTableBuilder
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