pub struct SetVTableBuilder { /* private fields */ }
Expand description
Builds a SetVTable
Implementations§
Source§impl SetVTableBuilder
impl SetVTableBuilder
Sourcepub const fn new() -> Self
pub const fn new() -> Self
Creates a new SetVTableBuilder
with all fields set to None
.
Sourcepub const fn init_in_place_with_capacity(
self,
f: SetInitInPlaceWithCapacityFn,
) -> Self
pub const fn init_in_place_with_capacity( self, f: SetInitInPlaceWithCapacityFn, ) -> Self
Sets the init_in_place_with_capacity_fn field
Sourcepub const fn insert(self, f: SetInsertFn) -> Self
pub const fn insert(self, f: SetInsertFn) -> Self
Sets the insert_fn field
Sourcepub const fn contains(self, f: SetContainsFn) -> Self
pub const fn contains(self, f: SetContainsFn) -> Self
Sets the contains_fn field
Sourcepub const fn iter_vtable(self, vtable: IterVTable<PtrConst<'static>>) -> Self
pub const fn iter_vtable(self, vtable: IterVTable<PtrConst<'static>>) -> Self
Sets the iter_vtable field
Auto Trait Implementations§
impl Freeze for SetVTableBuilder
impl RefUnwindSafe for SetVTableBuilder
impl Send for SetVTableBuilder
impl Sync for SetVTableBuilder
impl Unpin for SetVTableBuilder
impl UnwindSafe for SetVTableBuilder
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