pub struct BoardSize {
pub width: usize,
pub height: usize,
}Expand description
Contains a board’s width and height.
Fields§
§width: usize§height: usizeTrait Implementations§
impl Copy for BoardSize
impl Eq for BoardSize
impl StructuralPartialEq for BoardSize
Auto Trait Implementations§
impl Freeze for BoardSize
impl RefUnwindSafe for BoardSize
impl Send for BoardSize
impl Sync for BoardSize
impl Unpin for BoardSize
impl UnwindSafe for BoardSize
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