pub fn from_u32(val: u32) -> Result<VeraTileMapDim, Error> {
		match val {
			32 => Ok(VeraTileMapDim::Dim32),
			64 => Ok(VeraTileMapDim::Dim64),
			128 => Ok(VeraTileMapDim::Dim128),
			256 => Ok(VeraTileMapDim::Dim256),
			e => Err(ErrorKind::TileInvalidDimension(e).into()),
		}
	}
/// Attempt to parse into into enum
Attempt to parse into into enum
Attempt to parse into into enum
pub fn from_u32(val: u32) -> Result<VeraTileMapDim, Error> {
		match val {
			32 => Ok(VeraTileMapDim::Dim32),
			64 => Ok(VeraTileMapDim::Dim64),
			128 => Ok(VeraTileMapDim::Dim128),
			256 => Ok(VeraTileMapDim::Dim256),
			e => Err(ErrorKind::TileInvalidDimension(e).into()),
		}
	}
pub fn from_u32 ( val : u32 ) -> Result < VeraTileMapDim , Error > { match val { 32 => Ok ( VeraTileMapDim :: Dim32 ) , 64 => Ok ( VeraTileMapDim :: Dim64 ) , 128 => Ok ( VeraTileMapDim :: Dim128 ) , 256 => Ok ( VeraTileMapDim :: Dim256 ) , e => Err ( ErrorKind :: TileInvalidDimension ( e ) . into ( ) ) , } }
Attempt to parse into into enum
Attempt to parse into into enum
val
u32