diff options
Diffstat (limited to 'native')
-rw-r--r-- | native/src/window.rs | 4 | ||||
-rw-r--r-- | native/src/window/compositor.rs (renamed from native/src/window/backend.rs) | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/native/src/window.rs b/native/src/window.rs index 4dcae62f..84269fbf 100644 --- a/native/src/window.rs +++ b/native/src/window.rs @@ -1,6 +1,6 @@ //! Build window-based GUI applications. -mod backend; +mod compositor; mod event; -pub use backend::Backend; +pub use compositor::Compositor; pub use event::Event; diff --git a/native/src/window/backend.rs b/native/src/window/compositor.rs index d8726fd4..ae010c89 100644 --- a/native/src/window/backend.rs +++ b/native/src/window/compositor.rs @@ -2,8 +2,8 @@ use crate::mouse; use raw_window_handle::HasRawWindowHandle; -/// A graphics backend that can render to windows. -pub trait Backend: Sized { +/// A graphics compositor that can draw to windows. +pub trait Compositor: Sized { /// The settings of the backend. type Settings: Default + Clone; |