Skip to main content

SpriteTarget

Trait SpriteTarget 

Source
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§

Source

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".

Implementors§