pub struct SparseTensorIndexCsfBuilder<State>(/* private fields */);Expand description
Builder for serializing an instance of the SparseTensorIndexCsf type.
Can be created using the SparseTensorIndexCsf::builder method.
Implementations§
Source§impl SparseTensorIndexCsfBuilder<()>
impl SparseTensorIndexCsfBuilder<()>
Sourcepub fn indptr_type<T0>(self, value: T0) -> SparseTensorIndexCsfBuilder<(T0,)>
pub fn indptr_type<T0>(self, value: T0) -> SparseTensorIndexCsfBuilder<(T0,)>
Setter for the indptrType field.
Source§impl<T0> SparseTensorIndexCsfBuilder<(T0,)>
impl<T0> SparseTensorIndexCsfBuilder<(T0,)>
Sourcepub fn indptr_buffers<T1>(
self,
value: T1,
) -> SparseTensorIndexCsfBuilder<(T0, T1)>
pub fn indptr_buffers<T1>( self, value: T1, ) -> SparseTensorIndexCsfBuilder<(T0, T1)>
Setter for the indptrBuffers field.
Source§impl<T0, T1> SparseTensorIndexCsfBuilder<(T0, T1)>
impl<T0, T1> SparseTensorIndexCsfBuilder<(T0, T1)>
Sourcepub fn indices_type<T2>(
self,
value: T2,
) -> SparseTensorIndexCsfBuilder<(T0, T1, T2)>
pub fn indices_type<T2>( self, value: T2, ) -> SparseTensorIndexCsfBuilder<(T0, T1, T2)>
Setter for the indicesType field.
Source§impl<T0, T1, T2> SparseTensorIndexCsfBuilder<(T0, T1, T2)>
impl<T0, T1, T2> SparseTensorIndexCsfBuilder<(T0, T1, T2)>
Sourcepub fn indices_buffers<T3>(
self,
value: T3,
) -> SparseTensorIndexCsfBuilder<(T0, T1, T2, T3)>
pub fn indices_buffers<T3>( self, value: T3, ) -> SparseTensorIndexCsfBuilder<(T0, T1, T2, T3)>
Setter for the indicesBuffers field.
Source§impl<T0, T1, T2, T3> SparseTensorIndexCsfBuilder<(T0, T1, T2, T3)>
impl<T0, T1, T2, T3> SparseTensorIndexCsfBuilder<(T0, T1, T2, T3)>
Sourcepub fn axis_order<T4>(
self,
value: T4,
) -> SparseTensorIndexCsfBuilder<(T0, T1, T2, T3, T4)>
pub fn axis_order<T4>( self, value: T4, ) -> SparseTensorIndexCsfBuilder<(T0, T1, T2, T3, T4)>
Setter for the axisOrder field.
Source§impl<T0, T1, T2, T3, T4> SparseTensorIndexCsfBuilder<(T0, T1, T2, T3, T4)>
impl<T0, T1, T2, T3, T4> SparseTensorIndexCsfBuilder<(T0, T1, T2, T3, T4)>
Sourcepub fn finish(self, builder: &mut Builder) -> Offset<SparseTensorIndexCsf>where
Self: WriteAsOffset<SparseTensorIndexCsf>,
pub fn finish(self, builder: &mut Builder) -> Offset<SparseTensorIndexCsf>where
Self: WriteAsOffset<SparseTensorIndexCsf>,
Finish writing the builder to get an Offset to a serialized SparseTensorIndexCsf.
Trait Implementations§
Source§impl<State: Debug> Debug for SparseTensorIndexCsfBuilder<State>
impl<State: Debug> Debug for SparseTensorIndexCsfBuilder<State>
impl<T0: WriteAs<Offset<Int>>, T1: WriteAs<Offset<[Buffer]>>, T2: WriteAs<Offset<Int>>, T3: WriteAs<Offset<[Buffer]>>, T4: WriteAs<Offset<[i32]>>> WriteAs<Offset<SparseTensorIndexCsf>> for SparseTensorIndexCsfBuilder<(T0, T1, T2, T3, T4)>
impl<T0: WriteAs<Offset<Int>>, T1: WriteAs<Offset<[Buffer]>>, T2: WriteAs<Offset<Int>>, T3: WriteAs<Offset<[Buffer]>>, T4: WriteAs<Offset<[i32]>>> WriteAsOffset<SparseTensorIndexCsf> for SparseTensorIndexCsfBuilder<(T0, T1, T2, T3, T4)>
impl<T0: WriteAs<Offset<Int>>, T1: WriteAs<Offset<[Buffer]>>, T2: WriteAs<Offset<Int>>, T3: WriteAs<Offset<[Buffer]>>, T4: WriteAs<Offset<[i32]>>> WriteAsOptional<Offset<SparseTensorIndexCsf>> for SparseTensorIndexCsfBuilder<(T0, T1, T2, T3, T4)>
Auto Trait Implementations§
impl<State> Freeze for SparseTensorIndexCsfBuilder<State>where
State: Freeze,
impl<State> RefUnwindSafe for SparseTensorIndexCsfBuilder<State>where
State: RefUnwindSafe,
impl<State> Send for SparseTensorIndexCsfBuilder<State>where
State: Send,
impl<State> Sync for SparseTensorIndexCsfBuilder<State>where
State: Sync,
impl<State> Unpin for SparseTensorIndexCsfBuilder<State>where
State: Unpin,
impl<State> UnwindSafe for SparseTensorIndexCsfBuilder<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