pub struct SparseArray { /* private fields */ }Implementations§
Source§impl SparseArray
impl SparseArray
pub fn try_new( indices: ArrayRef, values: ArrayRef, len: usize, fill_value: Scalar, ) -> VortexResult<Self>
pub fn try_new_from_patches( patches: Patches, fill_value: Scalar, ) -> VortexResult<Self>
pub fn patches(&self) -> &Patches
pub fn resolved_patches(&self) -> VortexResult<Patches>
pub fn fill_scalar(&self) -> &Scalar
Trait Implementations§
Source§impl AsRef<dyn Array> for SparseArray
impl AsRef<dyn Array> for SparseArray
Source§impl Clone for SparseArray
impl Clone for SparseArray
Source§fn clone(&self) -> SparseArray
fn clone(&self) -> SparseArray
Returns a copy 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 SparseArray
impl Debug for SparseArray
Source§impl Deref for SparseArray
impl Deref for SparseArray
Source§impl IntoArray for SparseArray
impl IntoArray for SparseArray
fn into_array(self) -> ArrayRef
Auto Trait Implementations§
impl Freeze for SparseArray
impl !RefUnwindSafe for SparseArray
impl Send for SparseArray
impl Sync for SparseArray
impl Unpin for SparseArray
impl !UnwindSafe for SparseArray
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more