#[repr(C)]pub struct BackendDevice {
pub version: u32,
pub name: *const c_char,
pub description: *const c_char,
pub device_id: *const c_char,
pub memory_free: u64,
pub memory_total: u64,
pub device_type: BackendDeviceType,
pub caps: u64,
}Fields§
§version: u32§name: *const c_char§description: *const c_char§device_id: *const c_char§memory_free: u64§memory_total: u64§device_type: BackendDeviceType§caps: u64Trait Implementations§
Source§impl Clone for BackendDevice
impl Clone for BackendDevice
Source§fn clone(&self) -> BackendDevice
fn clone(&self) -> BackendDevice
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for BackendDevice
Auto Trait Implementations§
impl !Send for BackendDevice
impl !Sync for BackendDevice
impl Freeze for BackendDevice
impl RefUnwindSafe for BackendDevice
impl Unpin for BackendDevice
impl UnsafeUnpin for BackendDevice
impl UnwindSafe for BackendDevice
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