libcosmic/src/widget/text_input
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
..
cursor.rs improv(text_input): optimize, fix, and improve the text inputs 2025-03-21 13:21:57 +01:00
editor.rs improv(text_input): optimize, fix, and improve the text inputs 2025-03-21 13:21:57 +01:00
input.rs perf: reduce memory allocations 2025-10-22 04:30:57 +02:00
mod.rs refactor(widget): improvements to button and icon widgets 2023-09-14 01:38:56 +02:00
style.rs chore: format for 2024 edition 2025-03-21 13:33:07 +01:00
value.rs chore: apply clippy suggestions 2025-10-05 04:40:51 +02:00