Struct machine_info::GraphicCard
source · [−]pub struct GraphicCard {
pub id: String,
pub name: String,
pub brand: String,
pub memory: u64,
pub temperature: u32,
}
Expand description
Information about a graphic card
Fields
id: String
Device id
name: String
Device id
brand: String
Device brand
memory: u64
Total memory
temperature: u32
Device temperature
Trait Implementations
sourceimpl Debug for GraphicCard
impl Debug for GraphicCard
sourceimpl<'de> Deserialize<'de> for GraphicCard
impl<'de> Deserialize<'de> for GraphicCard
sourcefn 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
sourceimpl Serialize for GraphicCard
impl Serialize for GraphicCard
Auto Trait Implementations
impl RefUnwindSafe for GraphicCard
impl Send for GraphicCard
impl Sync for GraphicCard
impl Unpin for GraphicCard
impl UnwindSafe for GraphicCard
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more