pub trait VarBinArraySlotsExt<'a>: BorrowArraySlots<'a, VarBin> {
// Provided methods
fn offsets(self) -> &'a ArrayRef { ... }
fn validity_child(self) -> Option<&'a ArrayRef> { ... }
fn slots_view(self) -> VarBinSlotsView<'a> { ... }
}Expand description
Typed slot accessors for VarBin arrays.
Implemented for &'a T where T: TypedArrayRef, and for ArrayView<'a, _>. The
accessors take self by value and return references borrowed for 'a, so slots
read from a temporary ArrayView outlive the view.
Provided Methods§
Sourcefn validity_child(self) -> Option<&'a ArrayRef>
fn validity_child(self) -> Option<&'a ArrayRef>
Returns the validity_child slot.
Sourcefn slots_view(self) -> VarBinSlotsView<'a>
fn slots_view(self) -> VarBinSlotsView<'a>
Returns a borrowed view of all slots.
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".