pub struct MazeConfig {
pub corridor_width: usize,
}Expand description
Configuration for perfect maze generation.
Fields§
§corridor_width: usizeWidth of corridors in cells. Default: 1.
Trait Implementations§
Source§impl Clone for MazeConfig
impl Clone for MazeConfig
Source§fn clone(&self) -> MazeConfig
fn clone(&self) -> MazeConfig
Returns a duplicate 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 MazeConfig
impl Debug for MazeConfig
Source§impl Default for MazeConfig
impl Default for MazeConfig
Source§impl<'de> Deserialize<'de> for MazeConfig
impl<'de> Deserialize<'de> for MazeConfig
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 Freeze for MazeConfig
impl RefUnwindSafe for MazeConfig
impl Send for MazeConfig
impl Sync for MazeConfig
impl Unpin for MazeConfig
impl UnwindSafe for MazeConfig
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