pub trait PatchedArraySlotsExt<'a>: BorrowArraySlots<'a, Patched> {
// Provided methods
fn inner(self) -> &'a ArrayRef { ... }
fn lane_offsets(self) -> &'a ArrayRef { ... }
fn patch_indices(self) -> &'a ArrayRef { ... }
fn patch_values(self) -> &'a ArrayRef { ... }
fn slots_view(self) -> PatchedSlotsView<'a> { ... }
}Expand description
Typed slot accessors for Patched 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 lane_offsets(self) -> &'a ArrayRef
fn lane_offsets(self) -> &'a ArrayRef
Returns the lane_offsets slot.
Sourcefn patch_indices(self) -> &'a ArrayRef
fn patch_indices(self) -> &'a ArrayRef
Returns the patch_indices slot.
Sourcefn patch_values(self) -> &'a ArrayRef
fn patch_values(self) -> &'a ArrayRef
Returns the patch_values slot.
Sourcefn slots_view(self) -> PatchedSlotsView<'a>
fn slots_view(self) -> PatchedSlotsView<'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".