pub trait SparseWrite<FD: File<Array>, FS: File<Node>, D: Dir, T: Transaction<D>>: SparseAccess<FD, FS, D, T> {
    fn write_value<'life0, 'async_trait>(
        &'life0 self,
        txn_id: TxnId,
        coord: Coord,
        value: Number
    ) -> Pin<Box<dyn Future<Output = TCResult<()>> + Send + 'async_trait>>
    where
        'life0: 'async_trait,
        Self: 'async_trait
; }
Expand description

Write methods for SparseTensor data

Required Methods

Write the given value at the given coord of this SparseTensor.

Implementors