Struct arrow_ipc::gen::SparseTensor::SparseTensorBuilder
source · pub struct SparseTensorBuilder<'a: 'b, 'b> { /* private fields */ }
Implementations§
source§impl<'a: 'b, 'b> SparseTensorBuilder<'a, 'b>
impl<'a: 'b, 'b> SparseTensorBuilder<'a, 'b>
pub fn add_type_type(&mut self, type_type: Type)
pub fn add_type_(&mut self, type_: WIPOffset<UnionWIPOffset>)
pub fn add_shape( &mut self, shape: WIPOffset<Vector<'b, ForwardsUOffset<TensorDim<'b>>>>, )
pub fn add_non_zero_length(&mut self, non_zero_length: i64)
pub fn add_sparseIndex_type(&mut self, sparseIndex_type: SparseTensorIndex)
pub fn add_sparseIndex(&mut self, sparseIndex: WIPOffset<UnionWIPOffset>)
pub fn add_data(&mut self, data: &Buffer)
pub fn new(_fbb: &'b mut FlatBufferBuilder<'a>) -> SparseTensorBuilder<'a, 'b>
pub fn finish(self) -> WIPOffset<SparseTensor<'a>>
Auto Trait Implementations§
impl<'a, 'b> Freeze for SparseTensorBuilder<'a, 'b>
impl<'a, 'b> RefUnwindSafe for SparseTensorBuilder<'a, 'b>
impl<'a, 'b> Send for SparseTensorBuilder<'a, 'b>
impl<'a, 'b> Sync for SparseTensorBuilder<'a, 'b>
impl<'a, 'b> Unpin for SparseTensorBuilder<'a, 'b>
impl<'a, 'b> !UnwindSafe for SparseTensorBuilder<'a, 'b>
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