#[repr(C)]pub struct ArrayVTable {
pub as_ptr: ArrayAsPtrFn,
pub as_mut_ptr: ArrayAsMutPtrFn,
}Expand description
Virtual table for an array
Fields§
§as_ptr: ArrayAsPtrFncf. ArrayAsPtrFn
as_mut_ptr: ArrayAsMutPtrFncf. ArrayAsMutPtrFn
Implementations§
Source§impl ArrayVTable
impl ArrayVTable
Sourcepub const fn builder() -> ArrayVTableBuilder
pub const fn builder() -> ArrayVTableBuilder
Creates a new builder for this vtable
Trait Implementations§
Source§impl Clone for ArrayVTable
impl Clone for ArrayVTable
impl Copy for ArrayVTable
Auto Trait Implementations§
impl Forget for ArrayVTable
impl Freeze for ArrayVTable
impl Move for ArrayVTable
impl RefUnwindSafe for ArrayVTable
impl Send for ArrayVTable
impl Sync for ArrayVTable
impl Unpin for ArrayVTable
impl UnsafeUnpin 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