pub struct TileWindow {
pub col: u32,
pub row: u32,
pub x0: u32,
pub y0: u32,
pub width: u32,
pub height: u32,
}Expand description
One tile window inside a full-resolution frame.
Fields§
§col: u32Tile column index.
row: u32Tile row index.
x0: u32Left pixel (inclusive).
y0: u32Top pixel (inclusive).
width: u32Tile width in pixels.
height: u32Tile height in pixels.
Trait Implementations§
Source§impl Clone for TileWindow
impl Clone for TileWindow
Source§fn clone(&self) -> TileWindow
fn clone(&self) -> TileWindow
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for TileWindow
Source§impl Debug for TileWindow
impl Debug for TileWindow
impl Eq for TileWindow
Source§impl PartialEq for TileWindow
impl PartialEq for TileWindow
impl StructuralPartialEq for TileWindow
Auto Trait Implementations§
impl Freeze for TileWindow
impl RefUnwindSafe for TileWindow
impl Send for TileWindow
impl Sync for TileWindow
impl Unpin for TileWindow
impl UnsafeUnpin for TileWindow
impl UnwindSafe for TileWindow
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