#[repr(i16)]pub enum SparseMatrixCompressedAxis {
Row = 0,
Column = 1,
}Expand description
The enum SparseMatrixCompressedAxis in the namespace org.apache.arrow.flatbuf
Generated from these locations:
- Enum
SparseMatrixCompressedAxisin the fileSparseTensor.fbs:77
Variants§
Row = 0
The variant Row in the enum SparseMatrixCompressedAxis
Column = 1
The variant Column in the enum SparseMatrixCompressedAxis
Implementations§
Source§impl SparseMatrixCompressedAxis
impl SparseMatrixCompressedAxis
Sourcepub const ENUM_VALUES: [Self; 2]
pub const ENUM_VALUES: [Self; 2]
Array containing all valid variants of SparseMatrixCompressedAxis
Trait Implementations§
Source§impl Clone for SparseMatrixCompressedAxis
impl Clone for SparseMatrixCompressedAxis
Source§fn clone(&self) -> SparseMatrixCompressedAxis
fn clone(&self) -> SparseMatrixCompressedAxis
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 SparseMatrixCompressedAxis
impl Debug for SparseMatrixCompressedAxis
Source§impl<'de> Deserialize<'de> for SparseMatrixCompressedAxis
impl<'de> Deserialize<'de> for SparseMatrixCompressedAxis
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 From<SparseMatrixCompressedAxis> for i16
impl From<SparseMatrixCompressedAxis> for i16
Source§fn from(value: SparseMatrixCompressedAxis) -> Self
fn from(value: SparseMatrixCompressedAxis) -> Self
Converts to this type from the input type.
Source§impl Hash for SparseMatrixCompressedAxis
impl Hash for SparseMatrixCompressedAxis
Source§impl Ord for SparseMatrixCompressedAxis
impl Ord for SparseMatrixCompressedAxis
Source§fn cmp(&self, other: &SparseMatrixCompressedAxis) -> Ordering
fn cmp(&self, other: &SparseMatrixCompressedAxis) -> 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 PartialOrd for SparseMatrixCompressedAxis
impl PartialOrd for SparseMatrixCompressedAxis
Source§impl TryFrom<i16> for SparseMatrixCompressedAxis
impl TryFrom<i16> for SparseMatrixCompressedAxis
Source§type Error = UnknownEnumTagKind
type Error = UnknownEnumTagKind
The type returned in the event of a conversion error.
impl Copy for SparseMatrixCompressedAxis
impl Eq for SparseMatrixCompressedAxis
impl StructuralPartialEq for SparseMatrixCompressedAxis
impl VectorWrite<SparseMatrixCompressedAxis> for SparseMatrixCompressedAxis
§Safety
The planus compiler generates implementations that initialize
the bytes in write_values.
impl WriteAs<SparseMatrixCompressedAxis> for SparseMatrixCompressedAxis
impl WriteAsDefault<SparseMatrixCompressedAxis, SparseMatrixCompressedAxis> for SparseMatrixCompressedAxis
impl WriteAsOptional<SparseMatrixCompressedAxis> for SparseMatrixCompressedAxis
Auto Trait Implementations§
impl Freeze for SparseMatrixCompressedAxis
impl RefUnwindSafe for SparseMatrixCompressedAxis
impl Send for SparseMatrixCompressedAxis
impl Sync for SparseMatrixCompressedAxis
impl Unpin for SparseMatrixCompressedAxis
impl UnwindSafe for SparseMatrixCompressedAxis
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