pub struct CellularAutomata { /* private fields */ }Expand description
Cellular automata cave generator.
Implementations§
Source§impl CellularAutomata
impl CellularAutomata
Sourcepub fn new(config: CellularConfig) -> Self
pub fn new(config: CellularConfig) -> Self
Creates a new cellular automata generator with the given config.
Trait Implementations§
Source§impl Algorithm for CellularAutomata
impl Algorithm for CellularAutomata
Source§impl Clone for CellularAutomata
impl Clone for CellularAutomata
Source§fn clone(&self) -> CellularAutomata
fn clone(&self) -> CellularAutomata
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 CellularAutomata
impl Debug for CellularAutomata
Source§impl Default for CellularAutomata
impl Default for CellularAutomata
Source§impl<'de> Deserialize<'de> for CellularAutomata
impl<'de> Deserialize<'de> for CellularAutomata
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 CellularAutomata
impl RefUnwindSafe for CellularAutomata
impl Send for CellularAutomata
impl Sync for CellularAutomata
impl Unpin for CellularAutomata
impl UnwindSafe for CellularAutomata
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