pub struct ListVTableBuilder { /* private fields */ }Expand description
Builder for the vtable
Implementations§
Source§impl ListVTableBuilder
impl ListVTableBuilder
Sourcepub const fn get_mut(self, value: Option<ListGetMutFn>) -> Self
pub const fn get_mut(self, value: Option<ListGetMutFn>) -> Self
Set the get_mut field
Sourcepub const fn as_ptr(self, value: Option<ListAsPtrFn>) -> Self
pub const fn as_ptr(self, value: Option<ListAsPtrFn>) -> Self
Set the as_ptr field
Sourcepub const fn as_mut_ptr(self, value: Option<ListAsMutPtrFn>) -> Self
pub const fn as_mut_ptr(self, value: Option<ListAsMutPtrFn>) -> Self
Set the as_mut_ptr field
Sourcepub const fn build(self) -> ListVTable
pub const fn build(self) -> ListVTable
Trait Implementations§
Source§impl Clone for ListVTableBuilder
impl Clone for ListVTableBuilder
Source§fn clone(&self) -> ListVTableBuilder
fn clone(&self) -> ListVTableBuilder
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 ListVTableBuilder
impl Debug for ListVTableBuilder
impl Copy for ListVTableBuilder
Auto Trait Implementations§
impl Freeze for ListVTableBuilder
impl RefUnwindSafe for ListVTableBuilder
impl Send for ListVTableBuilder
impl Sync for ListVTableBuilder
impl Unpin for ListVTableBuilder
impl UnwindSafe for ListVTableBuilder
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