use an event converter for bundle splitting
This commit is contained in:
1 parent
299b123446
commit
ca1a502714
6 files changed
+332
-52
No files matched your search
@@ -26,6 +26,11 @@ impl PartialEq for ImageData {
|
||||
}
|
||||
|
||||
impl ImageData {
|
||||
/// Create a new ImageData
|
||||
pub fn new(e: impl HasImageData) -> Self {
|
||||
Self { inner: Box::new(e) }
|
||||
}
|
||||
|
||||
/// If the renderer encountered an error while loading the image
|
||||
pub fn load_error(&self) -> bool {
|
||||
self.inner.load_error()
|
||||
|
||||
Reference in new issue
Block a user