[][src]Trait sheep::Format

pub trait Format {
    type Data;
    type Options;
    fn encode(
        dimensions: (u32, u32),
        sprites: &[SpriteAnchor],
        options: Self::Options
    ) -> Self::Data; }

Associated Types

type Data

type Options

Loading content...

Required methods

fn encode(
    dimensions: (u32, u32),
    sprites: &[SpriteAnchor],
    options: Self::Options
) -> Self::Data

Loading content...

Implementors

impl Format for AmethystFormat[src]

type Data = SerializedSpriteSheet

type Options = ()

impl Format for AmethystNamedFormat[src]

type Data = SerializedNamedSpriteSheet

type Options = Vec<String>

Loading content...