pub struct WyrmCfg {
pub bind_address: String,
pub tile_extent: u32,
pub edge_extent: u32,
pub layer_group: Vec<LayerGroupCfg>,
}
Expand description
Configuration for Earthwyrm tile layers.
Fields§
§bind_address: String
Address to bind server
tile_extent: u32
Tile extent; width and height
edge_extent: u32
Extent outside tile edges
layer_group: Vec<LayerGroupCfg>
Configuration for all layer groups
Implementations§
Trait Implementations§
source§impl<'de> Deserialize<'de> for WyrmCfg
impl<'de> Deserialize<'de> for WyrmCfg
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
Auto Trait Implementations§
impl RefUnwindSafe for WyrmCfg
impl Send for WyrmCfg
impl Sync for WyrmCfg
impl Unpin for WyrmCfg
impl UnwindSafe for WyrmCfg
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