pub struct MapLook {
pub tiles: String,
pub light: String,
}Expand description
How a map looks, as far as its file says: which pictures a skin that has pictures paints its terrain with, and in which light. A skin without them ignores it. Look data only: the rules never see it.
Fields§
§tiles: StringWhich set of terrain pictures: one of the game’s
looks.
light: StringWhich light the map is in. DEFAULT_LIGHT unless the file says.
Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for MapLook
impl<'de> Deserialize<'de> for MapLook
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 MapLook
impl StructuralPartialEq for MapLook
Auto Trait Implementations§
impl Freeze for MapLook
impl RefUnwindSafe for MapLook
impl Send for MapLook
impl Sync for MapLook
impl Unpin for MapLook
impl UnsafeUnpin for MapLook
impl UnwindSafe for MapLook
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