#[repr(C)]pub struct ArrayVTable {
pub as_ptr: unsafe fn(PtrConst<'_>) -> PtrConst<'_>,
pub as_mut_ptr: unsafe fn(PtrMut<'_>) -> PtrMut<'_>,
}Expand description
Virtual table for an array
Fields§
§as_ptr: unsafe fn(PtrConst<'_>) -> PtrConst<'_>cf. ArrayAsPtrFn
as_mut_ptr: unsafe fn(PtrMut<'_>) -> PtrMut<'_>cf. ArrayAsMutPtrFn
Implementations§
Source§impl ArrayVTable
impl ArrayVTable
Sourcepub const fn builder() -> ArrayVTableBuilder
pub const fn builder() -> ArrayVTableBuilder
Returns a builder for ListVTable
Trait Implementations§
Source§impl Clone for ArrayVTable
impl Clone for ArrayVTable
Source§fn clone(&self) -> ArrayVTable
fn clone(&self) -> ArrayVTable
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 ArrayVTable
impl Debug for ArrayVTable
impl Copy for ArrayVTable
Auto Trait Implementations§
impl Freeze for ArrayVTable
impl RefUnwindSafe for ArrayVTable
impl Send for ArrayVTable
impl Sync for ArrayVTable
impl Unpin for ArrayVTable
impl UnwindSafe for ArrayVTable
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