pub struct Tetromino {
pub shape: [(u8, u8); 4],
pub color: Color,
}
Fields§
§shape: [(u8, u8); 4]
§color: Color
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Tetromino
impl RefUnwindSafe for Tetromino
impl Send for Tetromino
impl Sync for Tetromino
impl Unpin for Tetromino
impl UnwindSafe for Tetromino
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