pub trait AsUPtr<T: UniversalCopy> {
// Required method
fn as_uptr(&self, device: Device) -> *const T;
}
Expand description
A trait to get raw pointer for any device.
pub trait AsUPtr<T: UniversalCopy> {
// Required method
fn as_uptr(&self, device: Device) -> *const T;
}
A trait to get raw pointer for any device.