pub trait BorrowArraySlots<'a, V: VTable>: Copy {
// Required method
fn borrow_slots(self) -> &'a [Option<ArrayRef>];
}Expand description
A by-value handle to the child slots of a V array that are borrowed for 'a.
Implemented for &'a T where T is an owned Array<V> or any other TypedArrayRef, and
for ArrayView<'a, V> itself. The slot accessors generated by #[array_slots] are built on
it, so on an ArrayView<'a, V> they return references with the view’s lifetime 'a rather
than borrowing from the local view.
Required Methods§
Sourcefn borrow_slots(self) -> &'a [Option<ArrayRef>]
fn borrow_slots(self) -> &'a [Option<ArrayRef>]
Returns the child slots of the array, borrowed for 'a.
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".