Struct maze_core::square::RoomConfig
source · pub struct RoomConfig {
pub width: Range<usize>,
pub height: Range<usize>,
}Fields§
§width: Range<usize>§height: Range<usize>Trait Implementations§
source§impl Clone for RoomConfig
impl Clone for RoomConfig
source§fn clone(&self) -> RoomConfig
fn clone(&self) -> RoomConfig
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresource§impl Debug for RoomConfig
impl Debug for RoomConfig
source§impl<'de> Deserialize<'de> for RoomConfig
impl<'de> Deserialize<'de> for RoomConfig
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