#[repr(C)]pub struct DeviceRef {
pub handle: *mut c_void,
pub ctx_handle: *mut c_void,
}Expand description
A reference to a physical device retrieved from a cu_Devices object.
Fields§
§handle: *mut c_voidThe internal handle to the physical device.
ctx_handle: *mut c_voidThe internal handle to the device context.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for DeviceRef
impl RefUnwindSafe for DeviceRef
impl !Send for DeviceRef
impl !Sync for DeviceRef
impl Unpin for DeviceRef
impl UnwindSafe for DeviceRef
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more