Rename iced_native to iced_runtime
This commit is contained in:
parent
8af69be47e
commit
99e0a71504
39 changed files with 87 additions and 97 deletions
|
|
@ -10,5 +10,5 @@ pub use crate::core::{Clipboard, Shell};
|
|||
|
||||
pub mod subscription {
|
||||
//! Write your own subscriptions.
|
||||
pub use crate::native::futures::subscription::{EventStream, Recipe};
|
||||
pub use crate::runtime::futures::subscription::{EventStream, Recipe};
|
||||
}
|
||||
|
|
|
|||
|
|
@ -215,7 +215,7 @@ pub trait Application: Sized {
|
|||
|
||||
struct Instance<A: Application>(A);
|
||||
|
||||
impl<A> crate::native::Program for Instance<A>
|
||||
impl<A> crate::runtime::Program for Instance<A>
|
||||
where
|
||||
A: Application,
|
||||
{
|
||||
|
|
|
|||
10
src/lib.rs
10
src/lib.rs
|
|
@ -169,7 +169,7 @@ use iced_widget::renderer;
|
|||
use iced_widget::style;
|
||||
use iced_winit as shell;
|
||||
use iced_winit::core;
|
||||
use iced_winit::native;
|
||||
use iced_winit::runtime;
|
||||
|
||||
pub use iced_futures::futures;
|
||||
|
||||
|
|
@ -192,11 +192,11 @@ pub use crate::core::{
|
|||
color, Alignment, Background, Color, ContentFit, Length, Padding, Point,
|
||||
Rectangle, Size, Vector,
|
||||
};
|
||||
pub use crate::native::Command;
|
||||
pub use crate::runtime::Command;
|
||||
|
||||
pub mod clipboard {
|
||||
//! Access the clipboard.
|
||||
pub use crate::shell::clipboard::{read, write};
|
||||
pub use crate::runtime::clipboard::{read, write};
|
||||
}
|
||||
|
||||
pub mod executor {
|
||||
|
|
@ -219,7 +219,7 @@ pub mod executor {
|
|||
pub mod font {
|
||||
//! Load and use fonts.
|
||||
pub use crate::core::font::*;
|
||||
pub use crate::native::font::*;
|
||||
pub use crate::runtime::font::*;
|
||||
}
|
||||
|
||||
pub mod keyboard {
|
||||
|
|
@ -242,7 +242,7 @@ pub mod subscription {
|
|||
#[cfg(feature = "system")]
|
||||
pub mod system {
|
||||
//! Retrieve system information.
|
||||
pub use crate::native::system::Information;
|
||||
pub use crate::runtime::system::Information;
|
||||
pub use crate::shell::system::*;
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -9,5 +9,4 @@ pub use position::Position;
|
|||
pub use settings::Settings;
|
||||
|
||||
pub use crate::core::window::*;
|
||||
pub use crate::native::window::*;
|
||||
pub use crate::shell::window::*;
|
||||
pub use crate::runtime::window::*;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue