pub enum SparseTensorIndex {
SparseTensorIndexCoo(Box<SparseTensorIndexCoo>),
SparseMatrixIndexCsx(Box<SparseMatrixIndexCsx>),
SparseTensorIndexCsf(Box<SparseTensorIndexCsf>),
}Expand description
The union SparseTensorIndex in the namespace org.apache.arrow.flatbuf
Generated from these locations:
- Union
SparseTensorIndexin the fileSparseTensor.fbs:203
Variants§
SparseTensorIndexCoo(Box<SparseTensorIndexCoo>)
The variant of type SparseTensorIndexCOO in the union SparseTensorIndex
SparseMatrixIndexCsx(Box<SparseMatrixIndexCsx>)
The variant of type SparseMatrixIndexCSX in the union SparseTensorIndex
SparseTensorIndexCsf(Box<SparseTensorIndexCsf>)
The variant of type SparseTensorIndexCSF in the union SparseTensorIndex
Implementations§
Source§impl SparseTensorIndex
impl SparseTensorIndex
Sourcepub fn builder() -> SparseTensorIndexBuilder<Uninitialized>
pub fn builder() -> SparseTensorIndexBuilder<Uninitialized>
Creates a SparseTensorIndexBuilder for serializing an instance of this table.
pub fn create_sparse_tensor_index_coo( builder: &mut Builder, value: impl WriteAsOffset<SparseTensorIndexCoo>, ) -> UnionOffset<Self>
pub fn create_sparse_matrix_index_csx( builder: &mut Builder, value: impl WriteAsOffset<SparseMatrixIndexCsx>, ) -> UnionOffset<Self>
pub fn create_sparse_tensor_index_csf( builder: &mut Builder, value: impl WriteAsOffset<SparseTensorIndexCsf>, ) -> UnionOffset<Self>
Trait Implementations§
Source§impl Clone for SparseTensorIndex
impl Clone for SparseTensorIndex
Source§fn clone(&self) -> SparseTensorIndex
fn clone(&self) -> SparseTensorIndex
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 SparseTensorIndex
impl Debug for SparseTensorIndex
Source§impl<'de> Deserialize<'de> for SparseTensorIndex
impl<'de> Deserialize<'de> for SparseTensorIndex
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Hash for SparseTensorIndex
impl Hash for SparseTensorIndex
Source§impl Ord for SparseTensorIndex
impl Ord for SparseTensorIndex
Source§fn cmp(&self, other: &SparseTensorIndex) -> Ordering
fn cmp(&self, other: &SparseTensorIndex) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for SparseTensorIndex
impl PartialEq for SparseTensorIndex
Source§impl PartialOrd for SparseTensorIndex
impl PartialOrd for SparseTensorIndex
Source§impl Serialize for SparseTensorIndex
impl Serialize for SparseTensorIndex
Source§impl<'a> TryFrom<SparseTensorIndexRef<'a>> for SparseTensorIndex
impl<'a> TryFrom<SparseTensorIndexRef<'a>> for SparseTensorIndex
impl Eq for SparseTensorIndex
impl StructuralPartialEq for SparseTensorIndex
impl WriteAsOptionalUnion<SparseTensorIndex> for SparseTensorIndex
impl WriteAsUnion<SparseTensorIndex> for SparseTensorIndex
Auto Trait Implementations§
impl Freeze for SparseTensorIndex
impl RefUnwindSafe for SparseTensorIndex
impl Send for SparseTensorIndex
impl Sync for SparseTensorIndex
impl Unpin for SparseTensorIndex
impl UnwindSafe for SparseTensorIndex
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<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.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