#[non_exhaustive]#[repr(C)]pub struct ArrayVTable {
pub as_ptr: ArrayAsPtrFn,
pub as_mut_ptr: ArrayAsMutPtrFn,
}Expand description
Virtual table for an array
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.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
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
Source§impl Hash for ArrayVTable
impl Hash for ArrayVTable
Source§impl PartialEq for ArrayVTable
impl PartialEq for ArrayVTable
impl Copy for ArrayVTable
impl Eq for ArrayVTable
impl StructuralPartialEq 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