pub struct Tile {
pub x: usize,
pub y: usize,
pub width: usize,
pub height: usize,
}Expand description
A tile from a tiled buffer
Fields§
§x: usizeX offset in the parent buffer
y: usizeY offset in the parent buffer
width: usizeTile width
height: usizeTile height
Auto Trait Implementations§
impl Freeze for Tile
impl RefUnwindSafe for Tile
impl Send for Tile
impl Sync for Tile
impl Unpin for Tile
impl UnsafeUnpin for Tile
impl UnwindSafe for Tile
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