pub struct SetVTableBuilder { /* private fields */ }Expand description
Builder for the vtable
Implementations§
Source§impl SetVTableBuilder
impl SetVTableBuilder
Sourcepub const fn init_in_place_with_capacity(
self,
value: SetInitInPlaceWithCapacityFn,
) -> Self
pub const fn init_in_place_with_capacity( self, value: SetInitInPlaceWithCapacityFn, ) -> Self
Set the init_in_place_with_capacity field
Sourcepub const fn insert(self, value: SetInsertFn) -> Self
pub const fn insert(self, value: SetInsertFn) -> Self
Set the insert field
Sourcepub const fn contains(self, value: SetContainsFn) -> Self
pub const fn contains(self, value: SetContainsFn) -> Self
Set the contains field
Sourcepub const fn iter_vtable(self, value: IterVTable<PtrConst>) -> Self
pub const fn iter_vtable(self, value: IterVTable<PtrConst>) -> Self
Set the iter_vtable field
Trait Implementations§
Source§impl Clone for SetVTableBuilder
impl Clone for SetVTableBuilder
Source§fn clone(&self) -> SetVTableBuilder
fn clone(&self) -> SetVTableBuilder
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 SetVTableBuilder
impl Debug for SetVTableBuilder
impl Copy for SetVTableBuilder
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