Trait tc_tensor::DenseWrite
source · [−]pub trait DenseWrite<FD: File<Array>, FS: File<Node>, D: Dir, T: Transaction<D>>: DenseAccess<FD, FS, D, T> {
fn write<'life0, 'async_trait, V>(
&'life0 self,
txn: Self::Txn,
bounds: Bounds,
value: V
) -> Pin<Box<dyn Future<Output = TCResult<()>> + Send + 'async_trait>>
where
V: 'async_trait + DenseAccess<FD, FS, D, T>,
'life0: 'async_trait,
Self: 'async_trait;
fn write_value<'life0, 'async_trait>(
&'life0 self,
txn_id: TxnId,
bounds: Bounds,
number: Number
) -> Pin<Box<dyn Future<Output = TCResult<()>> + Send + 'async_trait>>
where
'life0: 'async_trait,
Self: 'async_trait;
}
Expand description
Common DenseTensor
access methods
Required Methods
Overwrite this accessor’s contents with those of the given accessor.