pub struct TileCell {
pub x: i32,
pub z: i32,
pub tile: u32,
}Expand description
A single painted cell. tile indexes TileSet::tiles.
Fields§
§x: i32§z: i32§tile: u32Trait Implementations§
impl Copy for TileCell
Source§impl<'de> Deserialize<'de> for TileCell
impl<'de> Deserialize<'de> for TileCell
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 Eq for TileCell
impl StructuralPartialEq for TileCell
Auto Trait Implementations§
impl Freeze for TileCell
impl RefUnwindSafe for TileCell
impl Send for TileCell
impl Sync for TileCell
impl Unpin for TileCell
impl UnsafeUnpin for TileCell
impl UnwindSafe for TileCell
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