pub struct Piece {
pub icon: Icon,
pub width: u8,
pub height: u8,
pub column: u8,
pub row: u8,
}Expand description
One cell of an icon that is width by height cells.
Fields§
§icon: Icon§width: u8§height: u8§column: u8§row: u8Implementations§
Trait Implementations§
impl Copy for Piece
impl Eq for Piece
impl StructuralPartialEq for Piece
Auto Trait Implementations§
impl Forget for Piece
impl Freeze for Piece
impl RefUnwindSafe for Piece
impl Send for Piece
impl Sync for Piece
impl Unpin for Piece
impl UnsafeUnpin for Piece
impl UnwindSafe for Piece
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