pub struct WireWorld {
pub grid: Vec<Vec<WireWorldCell>>,
pub width: usize,
pub height: usize,
}Expand description
WireWorld cellular automaton — simulates digital electronic circuits.
Fields§
§grid: Vec<Vec<WireWorldCell>>§width: usize§height: usizeImplementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for WireWorld
impl RefUnwindSafe for WireWorld
impl Send for WireWorld
impl Sync for WireWorld
impl Unpin for WireWorld
impl UnsafeUnpin for WireWorld
impl UnwindSafe for WireWorld
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