| 1 | use stdrust-analyzer cargo std https://github.com/rust-lang/rust/library/std crate/::timerust-analyzer cargo std https://github.com/rust-lang/rust/library/std time/::Instantrust-analyzer cargo std https://github.com/rust-lang/rust/library/std time/Instant#; |
| 2 | |
| 3 | use craterust-analyzer cargo bottom 0.14.9 crate/::componentsrust-analyzer cargo bottom 0.14.9 components/::time_seriesrust-analyzer cargo bottom 0.14.9 components/time_series/::{PercentTimeGraphrust-analyzer cargo bottom 0.14.9 components/time_series/percent/PercentTimeGraph#, TimeseriesConfigrust-analyzer cargo bottom 0.14.9 components/time_series/TimeseriesConfig#}; |
| 4 | |
| 5 | pub struct MemWidgetStaterust-analyzer cargo bottom 0.14.9 widgets/mem_graph/MemWidgetState# { |
| 6 | pub graphrust-analyzer cargo bottom 0.14.9 widgets/mem_graph/MemWidgetState#graph.: PercentTimeGraphrust-analyzer cargo bottom 0.14.9 components/time_series/percent/PercentTimeGraph#, |
| 7 | } |
| 8 | |
| 9 | impl MemWidgetStaterust-analyzer cargo bottom 0.14.9 widgets/mem_graph/MemWidgetState# { |
| 10 | pub fn initrust-analyzer cargo bottom 0.14.9 widgets/mem_graph/impl#[MemWidgetState]init().(config: TimeseriesConfigrust-analyzer cargo bottom 0.14.9 components/time_series/TimeseriesConfig#, autohide_timer: Optionrust-analyzer cargo core https://github.com/rust-lang/rust/library/core option/Option#<Instantrust-analyzer cargo std https://github.com/rust-lang/rust/library/std time/Instant#>) -> Selfrust-analyzer cargo bottom 0.14.9 widgets/mem_graph/impl#[MemWidgetState] { |
| 11 | MemWidgetStaterust-analyzer cargo bottom 0.14.9 widgets/mem_graph/MemWidgetState# { |
| 12 | graphrust-analyzer cargo bottom 0.14.9 widgets/mem_graph/MemWidgetState#graph.: PercentTimeGraphrust-analyzer cargo bottom 0.14.9 components/time_series/percent/PercentTimeGraph#::newrust-analyzer cargo bottom 0.14.9 components/time_series/percent/impl#[PercentTimeGraph]new().(config, autohide_timer), |
| 13 | } |
| 14 | } |
| 15 | } |