pub trait MemoryHandle<Binding>:
Clone
+ Send
+ Sync
+ Debug {
// Required methods
fn can_mut(&self) -> bool;
fn binding(self) -> Binding;
}
Expand description
The managed tensor buffer handle that points to some memory segment. It should not contain actual data.
Required Methods§
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.