Create iced_widget subcrate and re-organize the whole codebase

This commit is contained in:
Héctor Ramón Jiménez 2023-03-04 05:37:11 +01:00
parent c54409d171
commit 3a0d34c024
No known key found for this signature in database
GPG key ID: 140CC052C94F138E
209 changed files with 1959 additions and 2183 deletions

View file

@ -1,7 +1,6 @@
//! Access the clipboard.
pub use iced_native::clipboard::Action;
use crate::command::{self, Command};
use crate::native::clipboard::Action;
use crate::native::command::{self, Command};
/// A buffer for short-term storage and transfer within and between
/// applications.
@ -56,7 +55,7 @@ impl Clipboard {
}
}
impl iced_native::Clipboard for Clipboard {
impl crate::core::Clipboard for Clipboard {
fn read(&self) -> Option<String> {
self.read()
}