Struct ldtk2::EntityInstanceTile [−][src]
Expand description
Optional Tile used to display this entity (it could either be the default Entity tile, or some tile provided by a field value, like an Enum).
Tile data in an Entity instance
Fields
src_rect: Vec<i64>
An array of 4 Int values that refers to the tile in the tileset image: [ x, y, width, height ]
tileset_uid: i64
Tileset ID
Trait Implementations
fn 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
Auto Trait Implementations
impl RefUnwindSafe for EntityInstanceTile
impl Send for EntityInstanceTile
impl Sync for EntityInstanceTile
impl Unpin for EntityInstanceTile
impl UnwindSafe for EntityInstanceTile
Blanket Implementations
Mutably borrows from an owned value. Read more