pub struct DeviceEntry {
pub vram: usize,
pub sysmem: usize,
}Expand description
Top-level declaration of a target device’s resource capacity, in MB.
Fields§
§vram: usize§sysmem: usizeTrait Implementations§
Source§impl Debug for DeviceEntry
impl Debug for DeviceEntry
Source§impl Default for DeviceEntry
impl Default for DeviceEntry
Source§fn default() -> DeviceEntry
fn default() -> DeviceEntry
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for DeviceEntry
impl<'de> Deserialize<'de> for DeviceEntry
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for DeviceEntry
impl RefUnwindSafe for DeviceEntry
impl Send for DeviceEntry
impl Sync for DeviceEntry
impl Unpin for DeviceEntry
impl UnsafeUnpin for DeviceEntry
impl UnwindSafe for DeviceEntry
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