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: Stringdetail: boolcolor: Colorcolor_env: Option<u16>color_env_offset: i32image: Option<u16>tiles: CompressedData<Array2<Tile>, TilesLoadInfo>auto_mapper: AutoMapperImplementations
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 TilesLayerimpl Send for TilesLayerimpl Sync for TilesLayerimpl Unpin for TilesLayerimpl UnwindSafe for TilesLayerBlanket Implementations
Mutably borrows from an owned value. Read more
type Output = T
type Output = TShould always be Self
pub fn vzip(self) -> V