#[repr(C)]pub struct DLDevice {
pub device_type: DLDeviceType,
pub device_id: i32,
}
Fields§
§device_type: DLDeviceType
§device_id: i32
Implementations§
Trait Implementations§
impl Copy for DLDevice
impl Eq for DLDevice
impl StructuralPartialEq for DLDevice
Auto Trait Implementations§
impl Freeze for DLDevice
impl RefUnwindSafe for DLDevice
impl Send for DLDevice
impl Sync for DLDevice
impl Unpin for DLDevice
impl UnwindSafe for DLDevice
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