Struct twmap::TilesLayer [−][src]
pub struct TilesLayer { pub name: String, pub detail: bool, pub color: Color, pub color_env: Option<u16>, pub color_env_offset: i32, pub image: Option<u16>, pub tiles: CompressedData<Array2<Tile>, TilesLoadInfo>, pub auto_mapper: AutoMapper, }
Fields
name: String
detail: bool
color: Color
color_env: Option<u16>
color_env_offset: i32
image: Option<u16>
tiles: CompressedData<Array2<Tile>, TilesLoadInfo>
auto_mapper: AutoMapper
Implementations
Trait Implementations
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
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for TilesLayer
impl Send for TilesLayer
impl Sync for TilesLayer
impl Unpin for TilesLayer
impl UnwindSafe for TilesLayer
Blanket Implementations
Mutably borrows from an owned value. Read more
type Output = T
type Output = T
Should always be Self
pub fn vzip(self) -> V