pub struct EnumDefValues {
pub id: String,
pub tile_id: Option<i32>,
pub color: i32,
pub __tile_src_rect: Option<Vec<i32>>,
}
Expand description
Fields§
§id: String
Enum value
tile_id: Option<i32>
The optional ID of the tile
color: i32
Optional color
__tile_src_rect: Option<Vec<i32>>
An array of 4 Int values that refers to the tile in the tileset image: [ x, y, width, height ]
Trait Implementations§
Source§impl Clone for EnumDefValues
impl Clone for EnumDefValues
Source§fn clone(&self) -> EnumDefValues
fn clone(&self) -> EnumDefValues
Returns a duplicate 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 EnumDefValues
impl Debug for EnumDefValues
Source§impl<'de> Deserialize<'de> for EnumDefValues
impl<'de> Deserialize<'de> for EnumDefValues
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 Freeze for EnumDefValues
impl RefUnwindSafe for EnumDefValues
impl Send for EnumDefValues
impl Sync for EnumDefValues
impl Unpin for EnumDefValues
impl UnwindSafe for EnumDefValues
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