pub trait TensorBuffer {
// Provided method
fn reclaim_buffer(&mut self, _tensor: Tensor) { ... }
}Expand description
Backend buffer lifecycle operations.
§Examples
use tenferro_tensor::TensorBuffer;
fn accepts_buffer<B: TensorBuffer>(_backend: &mut B) {}Provided Methods§
fn reclaim_buffer(&mut self, _tensor: Tensor)
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".