Struct ldtk2::ReferenceToAnEntityInstance
source · pub struct ReferenceToAnEntityInstance {
pub entity_iid: String,
pub layer_iid: String,
pub level_iid: String,
pub world_iid: String,
}
Expand description
This object describes the “location” of an Entity instance in the project worlds.
IID information of this instance
Fields§
§entity_iid: String
IID of the refered EntityInstance
layer_iid: String
IID of the LayerInstance containing the refered EntityInstance
level_iid: String
IID of the Level containing the refered EntityInstance
world_iid: String
IID of the World containing the refered EntityInstance
Trait Implementations§
source§impl Clone for ReferenceToAnEntityInstance
impl Clone for ReferenceToAnEntityInstance
source§fn clone(&self) -> ReferenceToAnEntityInstance
fn clone(&self) -> ReferenceToAnEntityInstance
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 ReferenceToAnEntityInstance
impl Debug for ReferenceToAnEntityInstance
source§impl<'de> Deserialize<'de> for ReferenceToAnEntityInstance
impl<'de> Deserialize<'de> for ReferenceToAnEntityInstance
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 ReferenceToAnEntityInstance
impl Send for ReferenceToAnEntityInstance
impl Sync for ReferenceToAnEntityInstance
impl Unpin for ReferenceToAnEntityInstance
impl UnwindSafe for ReferenceToAnEntityInstance
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