libcosmic/cosmic-theme/src
Cheong Lau bd438a8581 perf: reduce memory allocations
This also changes `widget::column::with_children` and
`widget::row::with_children` to take an `impl IntoIterator` instead
of a `Vec`, like the `iced` variants of these functions do.

This shouldn't be a breaking change since passing in a `Vec` will still
compile and function exactly as before.

(Using `iced::widget::Column::from_vec` or
`iced::widget::Row::from_vec` isn't possible, since the elements of the
`Vec` aren't checked, so the size of the resulting `Column` or `Row`
won't adapt to the size of its children. Perhaps a new function could
be added to mirror `iced`'s?)
2025-10-22 04:30:57 +02:00
..
model chore: apply clippy suggestions 2025-10-05 04:40:51 +02:00
output perf: reduce memory allocations 2025-10-22 04:30:57 +02:00
composite.rs theme: fix disabled button 2025-08-26 13:18:23 -06:00
lib.rs perf: inline public getters/setters, and use non-generic inner functions 2025-03-21 13:31:34 +01:00
steps.rs chore: apply clippy suggestions 2025-10-05 04:40:51 +02:00