pub enum CellularType {
OneDimensional,
TwoDimensional,
Cyclic,
}Expand description
Type of cellular automaton
Variants§
OneDimensional
1D cellular automaton (Wolfram rule)
TwoDimensional
2D cellular automaton (Game of Life)
Cyclic
Cyclic cellular automaton
Trait Implementations§
Source§impl Clone for CellularType
impl Clone for CellularType
Source§fn clone(&self) -> CellularType
fn clone(&self) -> CellularType
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 CellularType
impl Debug for CellularType
Source§impl PartialEq for CellularType
impl PartialEq for CellularType
Source§fn eq(&self, other: &CellularType) -> bool
fn eq(&self, other: &CellularType) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for CellularType
impl StructuralPartialEq for CellularType
Auto Trait Implementations§
impl Freeze for CellularType
impl RefUnwindSafe for CellularType
impl Send for CellularType
impl Sync for CellularType
impl Unpin for CellularType
impl UnsafeUnpin for CellularType
impl UnwindSafe for CellularType
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