diff options
author | 2022-02-16 19:37:38 -0300 | |
---|---|---|
committer | 2022-04-26 18:54:23 -0300 | |
commit | 69781499cb070535bfc4e968d9ed3102ea722fb3 (patch) | |
tree | b08c61ebb646595ff9420351201bf71a1cf21df8 /native/src/system/information.rs | |
parent | fed8da1c9078638a96ae57a9dd6edacb0a1936b3 (diff) | |
download | iced-69781499cb070535bfc4e968d9ed3102ea722fb3.tar.gz iced-69781499cb070535bfc4e968d9ed3102ea722fb3.tar.bz2 iced-69781499cb070535bfc4e968d9ed3102ea722fb3.zip |
Introduce `QueryInformation` to `system::Action`
Diffstat (limited to 'native/src/system/information.rs')
-rw-r--r-- | native/src/system/information.rs | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/native/src/system/information.rs b/native/src/system/information.rs new file mode 100644 index 00000000..2100d110 --- /dev/null +++ b/native/src/system/information.rs @@ -0,0 +1,12 @@ +/// Contains informations about the system (e.g. system name, processor, memory, graphics adapter). +#[derive(Debug)] +pub struct Information { + system_name: String, + system_kernel: String, + system_version: String, + cpu_brand: String, + cpu_vendor: String, + cpu_name: String, + cpu_cores: String, + memory_total: String, +} |