pub struct SliceBuilderVTable {
pub new_fn: fn() -> PtrMut,
pub push_fn: unsafe fn(PtrMut, PtrMut),
pub convert_fn: unsafe fn(PtrMut) -> PtrConst,
pub free_fn: unsafe fn(PtrMut),
}Expand description
Functions for creating and manipulating slice builders.
Fields§
§new_fn: fn() -> PtrMut§push_fn: unsafe fn(PtrMut, PtrMut)§convert_fn: unsafe fn(PtrMut) -> PtrConst§free_fn: unsafe fn(PtrMut)Implementations§
Trait Implementations§
Source§impl Clone for SliceBuilderVTable
impl Clone for SliceBuilderVTable
Source§fn clone(&self) -> SliceBuilderVTable
fn clone(&self) -> SliceBuilderVTable
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 SliceBuilderVTable
impl Debug for SliceBuilderVTable
impl Copy for SliceBuilderVTable
Auto Trait Implementations§
impl Freeze for SliceBuilderVTable
impl RefUnwindSafe for SliceBuilderVTable
impl Send for SliceBuilderVTable
impl Sync for SliceBuilderVTable
impl Unpin for SliceBuilderVTable
impl UnwindSafe for SliceBuilderVTable
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