pub struct Options {
pub sprite_key: Template,
pub json_key: Template,
pub texture_key: Option<Template>,
pub sprites_key: Option<Template>,
pub script_classes: Vec<Vec<u8>>,
pub skip_name_suffixes: Vec<Vec<u8>>,
pub atlases: bool,
pub formats: Formats,
pub image: ImageEncoding,
}Expand description
What section 1.5’s atlases (and outputs.textures) ask for.
Fields§
§sprite_key: Templateatlases.sprite_key.
json_key: Templateatlases.json_key.
texture_key: Option<Template>outputs.textures.key, when textures are exported.
sprites_key: Option<Template>outputs.sprites.key, when Sprites are exported (E17).
script_classes: Vec<Vec<u8>>atlases.script_classes.
skip_name_suffixes: Vec<Vec<u8>>atlases.skip_name_suffixes.
atlases: boolWhether atlases are cut (atlases present in the spec): without
it, the plan’s atlas stage does not run.
formats: FormatsThe formats a texture is exported in, a sheet’s included
(outputs.formats, docs/BATCH_SPEC.md 1.5 and section 3):
Formats::V1 for a version 1 spec.
image: ImageEncodingImage writer for every texture, sprite and atlas crop.
Trait Implementations§
Auto Trait Implementations§
impl Forget for Options
impl Freeze for Options
impl Move for Options
impl RefUnwindSafe for Options
impl Send for Options
impl Sync for Options
impl Unpin for Options
impl UnsafeUnpin for Options
impl UnwindSafe for Options
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more