diff options
author | 2022-03-17 00:58:28 -0300 | |
---|---|---|
committer | 2022-04-26 18:58:50 -0300 | |
commit | 5356bb9bdb0074683722be194f36169836824af8 (patch) | |
tree | f81d46ce3ed654a6521e967273c2391f1d570f53 /native | |
parent | 2b4d8a7b2653f51ae83009257c4ec1dc4201d5ff (diff) | |
download | iced-5356bb9bdb0074683722be194f36169836824af8.tar.gz iced-5356bb9bdb0074683722be194f36169836824af8.tar.bz2 iced-5356bb9bdb0074683722be194f36169836824af8.zip |
Add graphics information to `system::Information`
Diffstat (limited to 'native')
-rw-r--r-- | native/src/system/information.rs | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/native/src/system/information.rs b/native/src/system/information.rs index e614f11e..bf0b100c 100644 --- a/native/src/system/information.rs +++ b/native/src/system/information.rs @@ -13,4 +13,8 @@ pub struct Information { pub cpu_cores: Option<usize>, /// Contains the total RAM size in KB. pub memory_total: u64, + /// Contains the graphics backend. + pub graphics_backend: String, + /// Contains the graphics adapter. + pub graphics_adapter: String, } |