@@ -67,12 +67,11 @@ pub use cpu::CPU;
67
67
68
68
mod cpu {
69
69
use super :: * ;
70
- use crate :: raster_types:: __private:: Sealed ;
71
70
72
71
#[ derive( Clone , Debug , Default , PartialEq , Hash , DynAny ) ]
73
72
pub struct CPU ( Image < Color > ) ;
74
73
75
- impl Sealed for Raster < CPU > { }
74
+ impl __private :: Sealed for Raster < CPU > { }
76
75
77
76
impl Storage for Raster < CPU > {
78
77
fn is_empty ( & self ) -> bool {
@@ -136,14 +135,13 @@ pub use gpu::GPU;
136
135
#[ cfg( feature = "wgpu" ) ]
137
136
mod gpu {
138
137
use super :: * ;
139
- use crate :: raster_types:: __private:: Sealed ;
140
138
141
139
#[ derive( Clone , Debug , PartialEq , Hash ) ]
142
140
pub struct GPU {
143
141
texture : wgpu:: Texture ,
144
142
}
145
143
146
- impl Sealed for Raster < GPU > { }
144
+ impl __private :: Sealed for Raster < GPU > { }
147
145
148
146
impl Storage for Raster < GPU > {
149
147
fn is_empty ( & self ) -> bool {
@@ -166,9 +164,11 @@ mod gpu {
166
164
mod gpu {
167
165
use super :: * ;
168
166
169
- #[ derive( Clone , Debug ) ]
167
+ #[ derive( Clone , Debug , PartialEq , Hash ) ]
170
168
pub struct GPU ;
171
169
170
+ impl __private:: Sealed for Raster < GPU > { }
171
+
172
172
impl Storage for Raster < GPU > {
173
173
fn is_empty ( & self ) -> bool {
174
174
true
0 commit comments