pub struct TilePosition {
pub row: u32,
pub column: u32,
pub row_span: u32,
pub column_span: u32,
}Fields§
§row: u32Row within the UI to display at
column: u32Column within the UI to display at
row_span: u32Number of rows to span
column_span: u32Number of columns to span
Trait Implementations§
Source§impl Clone for TilePosition
impl Clone for TilePosition
Source§fn clone(&self) -> TilePosition
fn clone(&self) -> TilePosition
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 moreSource§impl Debug for TilePosition
impl Debug for TilePosition
Source§impl<'de> Deserialize<'de> for TilePosition
impl<'de> Deserialize<'de> for TilePosition
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for TilePosition
impl RefUnwindSafe for TilePosition
impl Send for TilePosition
impl Sync for TilePosition
impl Unpin for TilePosition
impl UnwindSafe for TilePosition
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