pub struct World { /* private fields */ }
Implementations§
Source§impl World
impl World
pub fn new(options: WorldOptions) -> Self
pub fn step(&mut self) -> Result<StepResult, StepError>
pub fn return_grid(&self) -> &Vec<Cell>
pub fn return_width(&self) -> usize
Auto Trait Implementations§
impl Freeze for World
impl RefUnwindSafe for World
impl Send for World
impl Sync for World
impl Unpin for World
impl UnwindSafe for World
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