Create iced_widget subcrate and re-organize the whole codebase
This commit is contained in:
parent
c54409d171
commit
3a0d34c024
209 changed files with 1959 additions and 2183 deletions
|
|
@ -28,7 +28,9 @@ impl<T> Command<T> {
|
|||
}
|
||||
|
||||
/// Creates a [`Command`] that performs a [`widget::Operation`].
|
||||
pub fn widget(operation: impl widget::Operation<T> + 'static) -> Self {
|
||||
pub fn widget(
|
||||
operation: impl iced_core::widget::Operation<T> + 'static,
|
||||
) -> Self {
|
||||
Self(iced_futures::Command::single(Action::Widget(
|
||||
widget::Action::new(operation),
|
||||
)))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue