diff options
author | 2020-05-19 20:01:55 +0200 | |
---|---|---|
committer | 2020-05-19 20:01:55 +0200 | |
commit | 4aed0fa4b6d63b739b5557ef16f6077988cd2758 (patch) | |
tree | 2b773d818e745ee33015f904b8a748c50d7f2cfc /native/src/window | |
parent | a0ac09122a68d9be7d11e5cc765f52cb526ae913 (diff) | |
download | iced-4aed0fa4b6d63b739b5557ef16f6077988cd2758.tar.gz iced-4aed0fa4b6d63b739b5557ef16f6077988cd2758.tar.bz2 iced-4aed0fa4b6d63b739b5557ef16f6077988cd2758.zip |
Rename `window::Backend` to `Compositor`
Diffstat (limited to 'native/src/window')
-rw-r--r-- | native/src/window/compositor.rs (renamed from native/src/window/backend.rs) | 4 |
1 files changed, 2 insertions, 2 deletions
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; |