pub struct MapIterVTableBuilder { /* private fields */ }Expand description
Builds a MapIterVTable
Implementations§
Source§impl MapIterVTableBuilder
impl MapIterVTableBuilder
Sourcepub const fn new() -> Self
pub const fn new() -> Self
Creates a new MapIterVTableBuilder with all fields set to None.
Sourcepub const fn next(self, f: MapIterNextFn) -> Self
pub const fn next(self, f: MapIterNextFn) -> Self
Sets the next field
Sourcepub const fn dealloc(self, f: MapIterDeallocFn) -> Self
pub const fn dealloc(self, f: MapIterDeallocFn) -> Self
Sets the dealloc field
Sourcepub const fn build(self) -> MapIterVTable
pub const fn build(self) -> MapIterVTable
Builds the MapIterVTable from the current state of the builder.
§Panics
This method will panic if any of the required fields are None.
Auto Trait Implementations§
impl Freeze for MapIterVTableBuilder
impl RefUnwindSafe for MapIterVTableBuilder
impl Send for MapIterVTableBuilder
impl Sync for MapIterVTableBuilder
impl Unpin for MapIterVTableBuilder
impl UnwindSafe for MapIterVTableBuilder
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