Struct ldtk2::LdtkTocInstanceData
source · pub struct LdtkTocInstanceData {
pub fields: Option<Value>,
pub hei_px: i64,
pub iids: ReferenceToAnEntityInstance,
pub wid_px: i64,
pub world_x: i64,
pub world_y: i64,
}
Fields§
§fields: Option<Value>
An object containing the values of all entity fields with the exportToToc
option
enabled. This object typing depends on actual field value types.
hei_px: i64
§iids: ReferenceToAnEntityInstance
IID information of this instance
wid_px: i64
§world_x: i64
§world_y: i64
Trait Implementations§
source§impl Clone for LdtkTocInstanceData
impl Clone for LdtkTocInstanceData
source§fn clone(&self) -> LdtkTocInstanceData
fn clone(&self) -> LdtkTocInstanceData
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for LdtkTocInstanceData
impl Debug for LdtkTocInstanceData
source§impl<'de> Deserialize<'de> for LdtkTocInstanceData
impl<'de> Deserialize<'de> for LdtkTocInstanceData
source§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 LdtkTocInstanceData
impl Send for LdtkTocInstanceData
impl Sync for LdtkTocInstanceData
impl Unpin for LdtkTocInstanceData
impl UnwindSafe for LdtkTocInstanceData
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