mindustry logic execution, map- and schematic- parsing and rendering
Diffstat (limited to 'src/utils/image/mod.rs')
-rw-r--r--src/utils/image/mod.rs17
1 files changed, 1 insertions, 16 deletions
diff --git a/src/utils/image/mod.rs b/src/utils/image/mod.rs
index bb89e09..bbe9a3e 100644
--- a/src/utils/image/mod.rs
+++ b/src/utils/image/mod.rs
@@ -6,22 +6,7 @@ use affine::*;
mod holder;
mod overlay;
pub use holder::*;
-
-pub trait OverlayAt<W> {
- /// Overlay with => self at coordinates x, y, without blending
- /// # Safety
- ///
- /// UB if x, y is out of bounds
- unsafe fn overlay_at(&mut self, with: &W, x: u32, y: u32) -> &mut Self;
-}
-
-pub trait Overlay<W> {
- /// Overlay with => self (does not blend)
- /// # Safety
- ///
- /// UB if a.width != b.width || a.height != b.height
- unsafe fn overlay(&mut self, with: &W) -> &mut Self;
-}
+pub use overlay::*;
pub trait RepeatNew {
type Output;