pub trait SparseExt {
// Required method
fn patches(&self) -> Patches;
// Provided method
fn resolved_patches(&self) -> VortexResult<Patches> { ... }
}Expand description
Extension trait for accessing patches on SparseArray and ArrayView<'_, Sparse>.
Patches are reconstructed from the array’s slots and stored metadata on each call.
Required Methods§
Provided Methods§
Sourcefn resolved_patches(&self) -> VortexResult<Patches>
fn resolved_patches(&self) -> VortexResult<Patches>
Return patches with offset-resolved indices (offset subtracted from each index).
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".