pub trait DeviceRead<T>: Sealed {
// Required method
fn device_view(&self) -> DeviceMemoryView<T>;
}Expand description
Safe XLOG device operations accept owner-bearing spans, not native pointer adapters. The returned span must retain the actual allocation.
Required Methods§
fn device_view(&self) -> DeviceMemoryView<T>
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".