pub struct Tiles {
pub id: Option<Id>,
pub name: String,
pub cell: Option<CellSize>,
pub origin: [f32; 3],
pub plane: Option<TilePlane>,
pub palette: BTreeMap<String, String>,
pub rows: Option<Vec<String>>,
pub cells: Option<Vec<TileCell>>,
pub authoring: Option<Value>,
}Fields§
§id: Option<Id>§name: String§cell: Option<CellSize>§origin: [f32; 3]§plane: Option<TilePlane>§palette: BTreeMap<String, String>§rows: Option<Vec<String>>§cells: Option<Vec<TileCell>>Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Tiles
impl<'de> Deserialize<'de> for Tiles
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
impl StructuralPartialEq for Tiles
Auto Trait Implementations§
impl Freeze for Tiles
impl RefUnwindSafe for Tiles
impl Send for Tiles
impl Sync for Tiles
impl Unpin for Tiles
impl UnsafeUnpin for Tiles
impl UnwindSafe for Tiles
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