Trait texture_packer::exporter::Exporter[][src]

pub trait Exporter<T: Texture> {
    type Output;
    fn export(texture: &T) -> ExportResult<Self::Output>;
}

Converter for a Texture to type Output.

Associated Types

type Output[src]

Output type to use.

Loading content...

Required methods

fn export(texture: &T) -> ExportResult<Self::Output>[src]

Export a texture object to an Output.

Loading content...

Implementors

impl<T: Texture<Pixel = Rgba<u8>>> Exporter<T> for ImageExporter<T>[src]

Loading content...