pub enum CellularType {
OneDimensional,
TwoDimensional,
Cyclic,
}Expand description
Тип клеточного автомата
Variants§
OneDimensional
1D клеточный автомат (правило Вольфрама)
TwoDimensional
2D клеточный автомат (Game of Life)
Cyclic
Циклический клеточный автомат
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 · 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
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