pub struct WorldOptions {
pub width: usize,
pub height: usize,
pub init: InitialState,
pub input_cells: InputCells,
pub rules: Rulesets,
}
Fields§
§width: usize
§height: usize
§init: InitialState
§input_cells: InputCells
§rules: Rulesets
Implementations§
Source§impl WorldOptions
impl WorldOptions
Trait Implementations§
Source§impl Clone for WorldOptions
impl Clone for WorldOptions
Source§fn clone(&self) -> WorldOptions
fn clone(&self) -> WorldOptions
Returns a copy 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 moreAuto Trait Implementations§
impl Freeze for WorldOptions
impl RefUnwindSafe for WorldOptions
impl Send for WorldOptions
impl Sync for WorldOptions
impl Unpin for WorldOptions
impl UnwindSafe for WorldOptions
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