pub struct BriansBrain {
pub grid: Vec<Vec<BrianCell>>,
pub width: usize,
pub height: usize,
}Fields§
§grid: Vec<Vec<BrianCell>>§width: usize§height: usizeImplementations§
Trait Implementations§
Source§impl Clone for BriansBrain
impl Clone for BriansBrain
Source§fn clone(&self) -> BriansBrain
fn clone(&self) -> BriansBrain
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 moreAuto Trait Implementations§
impl Freeze for BriansBrain
impl RefUnwindSafe for BriansBrain
impl Send for BriansBrain
impl Sync for BriansBrain
impl Unpin for BriansBrain
impl UnsafeUnpin for BriansBrain
impl UnwindSafe for BriansBrain
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