pub struct SparseMatrixIndexCsxBuilder<State>(/* private fields */);Expand description
Builder for serializing an instance of the SparseMatrixIndexCsx type.
Can be created using the SparseMatrixIndexCsx::builder method.
Implementations§
Source§impl SparseMatrixIndexCsxBuilder<()>
impl SparseMatrixIndexCsxBuilder<()>
Sourcepub fn compressed_axis<T0>(
self,
value: T0,
) -> SparseMatrixIndexCsxBuilder<(T0,)>
pub fn compressed_axis<T0>( self, value: T0, ) -> SparseMatrixIndexCsxBuilder<(T0,)>
Setter for the compressedAxis field.
Sourcepub fn compressed_axis_as_default(
self,
) -> SparseMatrixIndexCsxBuilder<(DefaultValue,)>
pub fn compressed_axis_as_default( self, ) -> SparseMatrixIndexCsxBuilder<(DefaultValue,)>
Sets the compressedAxis field to the default value.
Source§impl<T0> SparseMatrixIndexCsxBuilder<(T0,)>
impl<T0> SparseMatrixIndexCsxBuilder<(T0,)>
Sourcepub fn indptr_type<T1>(self, value: T1) -> SparseMatrixIndexCsxBuilder<(T0, T1)>
pub fn indptr_type<T1>(self, value: T1) -> SparseMatrixIndexCsxBuilder<(T0, T1)>
Setter for the indptrType field.
Source§impl<T0, T1> SparseMatrixIndexCsxBuilder<(T0, T1)>
impl<T0, T1> SparseMatrixIndexCsxBuilder<(T0, T1)>
Sourcepub fn indptr_buffer<T2>(
self,
value: T2,
) -> SparseMatrixIndexCsxBuilder<(T0, T1, T2)>
pub fn indptr_buffer<T2>( self, value: T2, ) -> SparseMatrixIndexCsxBuilder<(T0, T1, T2)>
Setter for the indptrBuffer field.
Source§impl<T0, T1, T2> SparseMatrixIndexCsxBuilder<(T0, T1, T2)>
impl<T0, T1, T2> SparseMatrixIndexCsxBuilder<(T0, T1, T2)>
Sourcepub fn indices_type<T3>(
self,
value: T3,
) -> SparseMatrixIndexCsxBuilder<(T0, T1, T2, T3)>
pub fn indices_type<T3>( self, value: T3, ) -> SparseMatrixIndexCsxBuilder<(T0, T1, T2, T3)>
Setter for the indicesType field.
Source§impl<T0, T1, T2, T3> SparseMatrixIndexCsxBuilder<(T0, T1, T2, T3)>
impl<T0, T1, T2, T3> SparseMatrixIndexCsxBuilder<(T0, T1, T2, T3)>
Sourcepub fn indices_buffer<T4>(
self,
value: T4,
) -> SparseMatrixIndexCsxBuilder<(T0, T1, T2, T3, T4)>
pub fn indices_buffer<T4>( self, value: T4, ) -> SparseMatrixIndexCsxBuilder<(T0, T1, T2, T3, T4)>
Setter for the indicesBuffer field.
Source§impl<T0, T1, T2, T3, T4> SparseMatrixIndexCsxBuilder<(T0, T1, T2, T3, T4)>
impl<T0, T1, T2, T3, T4> SparseMatrixIndexCsxBuilder<(T0, T1, T2, T3, T4)>
Sourcepub fn finish(self, builder: &mut Builder) -> Offset<SparseMatrixIndexCsx>where
Self: WriteAsOffset<SparseMatrixIndexCsx>,
pub fn finish(self, builder: &mut Builder) -> Offset<SparseMatrixIndexCsx>where
Self: WriteAsOffset<SparseMatrixIndexCsx>,
Finish writing the builder to get an Offset to a serialized SparseMatrixIndexCsx.
Trait Implementations§
Source§impl<State: Debug> Debug for SparseMatrixIndexCsxBuilder<State>
impl<State: Debug> Debug for SparseMatrixIndexCsxBuilder<State>
impl<T0: WriteAsDefault<SparseMatrixCompressedAxis, SparseMatrixCompressedAxis>, T1: WriteAs<Offset<Int>>, T2: WriteAs<Buffer>, T3: WriteAs<Offset<Int>>, T4: WriteAs<Buffer>> WriteAs<Offset<SparseMatrixIndexCsx>> for SparseMatrixIndexCsxBuilder<(T0, T1, T2, T3, T4)>
impl<T0: WriteAsDefault<SparseMatrixCompressedAxis, SparseMatrixCompressedAxis>, T1: WriteAs<Offset<Int>>, T2: WriteAs<Buffer>, T3: WriteAs<Offset<Int>>, T4: WriteAs<Buffer>> WriteAsOffset<SparseMatrixIndexCsx> for SparseMatrixIndexCsxBuilder<(T0, T1, T2, T3, T4)>
impl<T0: WriteAsDefault<SparseMatrixCompressedAxis, SparseMatrixCompressedAxis>, T1: WriteAs<Offset<Int>>, T2: WriteAs<Buffer>, T3: WriteAs<Offset<Int>>, T4: WriteAs<Buffer>> WriteAsOptional<Offset<SparseMatrixIndexCsx>> for SparseMatrixIndexCsxBuilder<(T0, T1, T2, T3, T4)>
Auto Trait Implementations§
impl<State> Freeze for SparseMatrixIndexCsxBuilder<State>where
State: Freeze,
impl<State> RefUnwindSafe for SparseMatrixIndexCsxBuilder<State>where
State: RefUnwindSafe,
impl<State> Send for SparseMatrixIndexCsxBuilder<State>where
State: Send,
impl<State> Sync for SparseMatrixIndexCsxBuilder<State>where
State: Sync,
impl<State> Unpin for SparseMatrixIndexCsxBuilder<State>where
State: Unpin,
impl<State> UnwindSafe for SparseMatrixIndexCsxBuilder<State>where
State: UnwindSafe,
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> 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