Struct yy_typings::TileSet
source · [−]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: u64
tile_height: u64
tilexoff: u64
tileyoff: u64
tilehsep: u64
tilevsep: u64
sprite_no_export: bool
texture_group_id: TexturePath
out_tile_hborder: u64
out_tile_vborder: u64
out_columns: u64
tile_count: u64
auto_tile_sets: Vec<AutoTileSet>
tile_animation_frames: Vec<TileAnimationFrame>
tile_animation_speed: f64
tile_animation: TileAnimation
macro_page_tiles: MacroPageTiles
resource_data: ResourceData
Common resource data.
resource_type: ConstGmTileSet
Const id tag of the shader, given by Gms2.
Trait Implementations
sourceimpl Default for TileSet
impl Default for TileSet
sourcefn default() -> Self
fn default() -> Self
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() }
sourceimpl<'de> Deserialize<'de> for TileSet
impl<'de> Deserialize<'de> for TileSet
sourcefn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl StructuralPartialEq for TileSet
Auto Trait Implementations
impl RefUnwindSafe for TileSet
impl Send for TileSet
impl Sync for TileSet
impl Unpin for TileSet
impl UnwindSafe for TileSet
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more