pub struct TileSet {
Show 20 fields pub sprite_id: Option<ViewPath>, pub tile_width: u64, pub tile_height: u64, pub tilexoff: u64, pub tileyoff: u64, pub tilehsep: u64, pub tilevsep: u64, pub sprite_no_export: bool, pub texture_group_id: TexturePath, pub out_tile_hborder: u64, pub out_tile_vborder: u64, pub out_columns: u64, pub tile_count: u64, pub auto_tile_sets: Vec<AutoTileSet>, pub tile_animation_frames: Vec<TileAnimationFrame>, pub tile_animation_speed: f64, pub tile_animation: TileAnimation, pub macro_page_tiles: MacroPageTiles, pub resource_data: ResourceData, pub resource_type: ConstGmTileSet,
}

Fields

sprite_id: Option<ViewPath>tile_width: u64tile_height: u64tilexoff: u64tileyoff: u64tilehsep: u64tilevsep: u64sprite_no_export: booltexture_group_id: TexturePathout_tile_hborder: u64out_tile_vborder: u64out_columns: u64tile_count: u64auto_tile_sets: Vec<AutoTileSet>tile_animation_frames: Vec<TileAnimationFrame>tile_animation_speed: f64tile_animation: TileAnimationmacro_page_tiles: MacroPageTilesresource_data: ResourceData

Common resource data.

resource_type: ConstGmTileSet

Const id tag of the shader, given by Gms2.

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

Return TileSet { sprite_id: Default::default(), tile_width: Default::default(), tile_height: Default::default(), tilexoff: Default::default(), tileyoff: Default::default(), tilehsep: Default::default(), tilevsep: Default::default(), sprite_no_export: Default::default(), texture_group_id: Default::default(), out_tile_hborder: Default::default(), out_tile_vborder: Default::default(), out_columns: Default::default(), tile_count: Default::default(), auto_tile_sets: Default::default(), tile_animation_frames: Default::default(), tile_animation_speed: Default::default(), tile_animation: Default::default(), macro_page_tiles: Default::default(), resource_data: Default::default(), resource_type: Default::default() }

Deserialize this value from the given Serde deserializer. Read more

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

🔬 This is a nightly-only experimental API. (toowned_clone_into)

Uses borrowed data to replace owned data, usually by cloning. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.