Trait ulib::AsUPtrMut

source ·
pub trait AsUPtrMut<T: UniversalCopy> {
    // Required method
    fn as_mut_uptr(&mut self, device: Device) -> *mut T;
}
Expand description

A trait to get mutable raw pointer for any device.

Required Methods§

source

fn as_mut_uptr(&mut self, device: Device) -> *mut T

Get a mutable raw pointer.

Implementations on Foreign Types§

source§

impl<T, U: UniversalCopy> AsUPtrMut<U> for &mut Twhere T: AsUPtrMut<U>,

source§

fn as_mut_uptr(&mut self, device: Device) -> *mut U

Implementors§