diff options
Diffstat (limited to '')
| -rw-r--r-- | core/src/renderer.rs (renamed from native/src/renderer.rs) | 1 | ||||
| -rw-r--r-- | core/src/renderer/null.rs (renamed from native/src/renderer/null.rs) | 4 | 
2 files changed, 3 insertions, 2 deletions
| diff --git a/native/src/renderer.rs b/core/src/renderer.rs index 2ac78982..d6247e39 100644 --- a/native/src/renderer.rs +++ b/core/src/renderer.rs @@ -1,6 +1,7 @@  //! Write your own renderer.  #[cfg(debug_assertions)]  mod null; +  #[cfg(debug_assertions)]  pub use null::Null; diff --git a/native/src/renderer/null.rs b/core/src/renderer/null.rs index 150ee786..d93338ae 100644 --- a/native/src/renderer/null.rs +++ b/core/src/renderer/null.rs @@ -1,6 +1,6 @@  use crate::renderer::{self, Renderer};  use crate::text::{self, Text}; -use crate::{Background, Font, Point, Rectangle, Size, Theme, Vector}; +use crate::{Background, Font, Point, Rectangle, Size, Vector};  use std::borrow::Cow; @@ -18,7 +18,7 @@ impl Null {  }  impl Renderer for Null { -    type Theme = Theme; +    type Theme = ();      fn with_layer(&mut self, _bounds: Rectangle, _f: impl FnOnce(&mut Self)) {} | 
