[−][src]Struct ldtk::TilesetDef
Fields
cached_pixel_data: Option<HashMap<String, Option<Value>>>
The following data is used internally for various optimizations. It's always synced with source image changes.
identifier: String
Unique String identifier
padding: i64
Distance in pixels from image borders
px_hei: i64
Image height in pixels
px_wid: i64
Image width in pixels
rel_path: String
Path to the source file, relative to the current project JSON file
saved_selections: Vec<HashMap<String, Option<Value>>>
Array of group of tiles selections, only meant to be used in the editor
spacing: i64
Space in pixels between all tiles
tile_grid_size: i64
uid: i64
Unique Intidentifier
Trait Implementations
impl Debug for TilesetDef
[src]
impl<'de> Deserialize<'de> for TilesetDef
[src]
pub fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]
__D: Deserializer<'de>,
impl Serialize for TilesetDef
[src]
Auto Trait Implementations
impl RefUnwindSafe for TilesetDef
[src]
impl Send for TilesetDef
[src]
impl Sync for TilesetDef
[src]
impl Unpin for TilesetDef
[src]
impl UnwindSafe for TilesetDef
[src]
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> DeserializeOwned for T where
T: for<'de> Deserialize<'de>,
[src]
T: for<'de> Deserialize<'de>,
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,