pub trait SpriteTarget: Sized {
// Required method
fn from_bytes(bytes: Vec<u8>, mime: &'static str) -> Self;
}Expand description
Destination for the encoded sprite bytes.
Required Methods§
fn from_bytes(bytes: Vec<u8>, mime: &'static str) -> Self
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".