| 1 | use serderust-analyzer cargo serde 1.0.228 crate/::{Deserializerust-analyzer cargo serde_core 1.0.228 de/Deserialize#, Serializerust-analyzer cargo serde_core 1.0.228 ser/Serialize#}; |
| 2 | |
| 3 | use superrust-analyzer cargo bottom 0.14.9 options/config/style/::ColourStrrust-analyzer cargo bottom 0.14.9 options/config/style/ColourStr#; |
| 4 | |
| 5 | /// Styling specific to the memory widget. |
| 6 | #[deriverust-analyzer cargo core https://github.com/rust-lang/rust/library/core macros/builtin/derive:(Clonerust-analyzer cargo core https://github.com/rust-lang/rust/library/core clone/Clone:, Debugrust-analyzer cargo core https://github.com/rust-lang/rust/library/core fmt/macros/Debug:, Defaultrust-analyzer cargo core https://github.com/rust-lang/rust/library/core default/Default:, Deserializerust-analyzer cargo serde_derive 1.0.228 Deserialize:, Serializerust-analyzer cargo serde_derive 1.0.228 Serialize:)] |
| 7 | #[cfg_attr(feature = "generate_schema", derive(schemars::JsonSchema))] |
| 8 | #[cfg_attr(test, serde(deny_unknown_fields), derive(PartialEqrust-analyzer cargo core https://github.com/rust-lang/rust/library/core cmp/PartialEq:, Eqrust-analyzer cargo core https://github.com/rust-lang/rust/library/core cmp/Eq:))] |
| 9 | pub(craterust-analyzer cargo bottom 0.14.9 crate/) struct MemoryStylerust-analyzer cargo bottom 0.14.9 options/config/style/memory/MemoryStyle# { |
| 10 | /// The colour of the RAM label and graph line. |
| 11 | #[serderust-analyzer cargo serde_derive 1.0.228 serde:(alias = "ram_color")] |
| 12 | pub(craterust-analyzer cargo bottom 0.14.9 crate/) ram_colourrust-analyzer cargo bottom 0.14.9 options/config/style/memory/MemoryStyle#ram_colour.: Optionrust-analyzer cargo core https://github.com/rust-lang/rust/library/core option/Option#<ColourStrrust-analyzer cargo bottom 0.14.9 options/config/style/ColourStr#>, |
| 13 | |
| 14 | /// The colour of the cache label and graph line. Does not do anything on |
| 15 | /// Windows. |
| 16 | #[cfg_attr(target_os = "windows", allow(dead_code))] |
| 17 | #[serderust-analyzer cargo serde_derive 1.0.228 serde:(alias = "cache_color")] |
| 18 | pub(craterust-analyzer cargo bottom 0.14.9 crate/) cache_colourrust-analyzer cargo bottom 0.14.9 options/config/style/memory/MemoryStyle#cache_colour.: Optionrust-analyzer cargo core https://github.com/rust-lang/rust/library/core option/Option#<ColourStrrust-analyzer cargo bottom 0.14.9 options/config/style/ColourStr#>, |
| 19 | |
| 20 | /// The colour of the swap label and graph line. |
| 21 | #[serderust-analyzer cargo serde_derive 1.0.228 serde:(alias = "swap_color")] |
| 22 | pub(craterust-analyzer cargo bottom 0.14.9 crate/) swap_colourrust-analyzer cargo bottom 0.14.9 options/config/style/memory/MemoryStyle#swap_colour.: Optionrust-analyzer cargo core https://github.com/rust-lang/rust/library/core option/Option#<ColourStrrust-analyzer cargo bottom 0.14.9 options/config/style/ColourStr#>, |
| 23 | |
| 24 | /// The colour of the ARC label and graph line. |
| 25 | #[serderust-analyzer cargo serde_derive 1.0.228 serde:(alias = "arc_color")] |
| 26 | pub(craterust-analyzer cargo bottom 0.14.9 crate/) arc_colourrust-analyzer cargo bottom 0.14.9 options/config/style/memory/MemoryStyle#arc_colour.: Optionrust-analyzer cargo core https://github.com/rust-lang/rust/library/core option/Option#<ColourStrrust-analyzer cargo bottom 0.14.9 options/config/style/ColourStr#>, |
| 27 | |
| 28 | /// Colour of each GPU's memory label and graph line. Read in order. |
| 29 | #[serderust-analyzer cargo serde_derive 1.0.228 serde:(alias = "gpu_colors")] |
| 30 | pub(craterust-analyzer cargo bottom 0.14.9 crate/) gpu_coloursrust-analyzer cargo bottom 0.14.9 options/config/style/memory/MemoryStyle#gpu_colours.: Optionrust-analyzer cargo core https://github.com/rust-lang/rust/library/core option/Option#<Vecrust-analyzer cargo alloc https://github.com/rust-lang/rust/library/alloc vec/Vec#<ColourStrrust-analyzer cargo bottom 0.14.9 options/config/style/ColourStr#>>, |
| 31 | } |