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