pub struct SimpleGPU {
pub name: String,
pub vram_gb: f64,
pub vendor: String,
pub ai_capable: bool,
}
Expand description
Simplified GPU information
Fields§
§name: String
GPU model name
vram_gb: f64
VRAM in GB
vendor: String
Vendor (NVIDIA, AMD, Intel, etc.)
ai_capable: bool
Supports hardware acceleration for AI/ML
Trait Implementations§
Source§impl<'de> Deserialize<'de> for SimpleGPU
impl<'de> Deserialize<'de> for SimpleGPU
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 SimpleGPU
impl RefUnwindSafe for SimpleGPU
impl Send for SimpleGPU
impl Sync for SimpleGPU
impl Unpin for SimpleGPU
impl UnwindSafe for SimpleGPU
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