Struct ldtk2::IntGridValueDefinition
source · pub struct IntGridValueDefinition {
pub color: String,
pub group_uid: i64,
pub identifier: Option<String>,
pub tile: Option<TilesetRectangle>,
pub value: i64,
}
Expand description
IntGrid value definition
Fields§
§color: String
§group_uid: i64
Parent group identifier (0 if none)
identifier: Option<String>
User defined unique identifier
tile: Option<TilesetRectangle>
§value: i64
The IntGrid value itself
Trait Implementations§
source§impl Clone for IntGridValueDefinition
impl Clone for IntGridValueDefinition
source§fn clone(&self) -> IntGridValueDefinition
fn clone(&self) -> IntGridValueDefinition
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 IntGridValueDefinition
impl Debug for IntGridValueDefinition
source§impl<'de> Deserialize<'de> for IntGridValueDefinition
impl<'de> Deserialize<'de> for IntGridValueDefinition
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 IntGridValueDefinition
impl Send for IntGridValueDefinition
impl Sync for IntGridValueDefinition
impl Unpin for IntGridValueDefinition
impl UnwindSafe for IntGridValueDefinition
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