Struct datafusion::common::arrow::ipc::gen::SparseTensor::SparseMatrixCompressedAxis
source · #[repr(transparent)]pub struct SparseMatrixCompressedAxis(pub i16);
Tuple Fields§
§0: i16
Implementations§
source§impl SparseMatrixCompressedAxis
impl SparseMatrixCompressedAxis
pub const Row: SparseMatrixCompressedAxis = _
pub const Column: SparseMatrixCompressedAxis = _
pub const ENUM_MIN: i16 = 0i16
pub const ENUM_MAX: i16 = 1i16
pub const ENUM_VALUES: &'static [SparseMatrixCompressedAxis] = _
sourcepub fn variant_name(self) -> Option<&'static str>
pub fn variant_name(self) -> Option<&'static str>
Returns the variant’s name or “” if unknown.
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 Default for SparseMatrixCompressedAxis
impl Default for SparseMatrixCompressedAxis
source§fn default() -> SparseMatrixCompressedAxis
fn default() -> SparseMatrixCompressedAxis
Returns the “default value” for a type. Read more
source§impl EndianScalar for SparseMatrixCompressedAxis
impl EndianScalar for SparseMatrixCompressedAxis
type Scalar = i16
fn to_little_endian(self) -> i16
fn from_little_endian(v: i16) -> SparseMatrixCompressedAxis
source§impl<'a> Follow<'a> for SparseMatrixCompressedAxis
impl<'a> Follow<'a> for SparseMatrixCompressedAxis
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 PartialEq for SparseMatrixCompressedAxis
impl PartialEq for SparseMatrixCompressedAxis
source§fn eq(&self, other: &SparseMatrixCompressedAxis) -> bool
fn eq(&self, other: &SparseMatrixCompressedAxis) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for SparseMatrixCompressedAxis
impl PartialOrd for SparseMatrixCompressedAxis
source§fn partial_cmp(&self, other: &SparseMatrixCompressedAxis) -> Option<Ordering>
fn partial_cmp(&self, other: &SparseMatrixCompressedAxis) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moresource§impl Push for SparseMatrixCompressedAxis
impl Push for SparseMatrixCompressedAxis
source§impl<'a> Verifiable for SparseMatrixCompressedAxis
impl<'a> Verifiable for SparseMatrixCompressedAxis
source§fn run_verifier(
v: &mut Verifier<'_, '_>,
pos: usize
) -> Result<(), InvalidFlatbuffer>
fn run_verifier( v: &mut Verifier<'_, '_>, pos: usize ) -> Result<(), InvalidFlatbuffer>
Runs the verifier for this type, assuming its at position
pos
in the verifier’s buffer.
Should not need to be called directly.impl Copy for SparseMatrixCompressedAxis
impl Eq for SparseMatrixCompressedAxis
impl SimpleToVerifyInSlice for SparseMatrixCompressedAxis
impl StructuralPartialEq 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<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§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