Trait burn_compute::memory_management::MemoryHandle
source · pub trait MemoryHandle: Clone + Send + Debug {
// Required method
fn can_mut(&self) -> bool;
}Expand description
The MemoryHandle trait is an abstract way to refer to some memory segment. It should not contain actual references to data.
It is responsible for determining if the memory segment can be mutated, for instance by keeping track of a reference count
Required Methods§
Object Safety§
This trait is not object safe.