pub struct Tile {
pub coord: TileCoord,
pub bounds: Rect,
pub is_dirty: bool,
pub is_occluded: bool,
}Expand description
A discrete 256x256 pixel viewport surface partition.
Fields§
§coord: TileCoord§bounds: Rect§is_dirty: bool§is_occluded: boolImplementations§
Trait Implementations§
impl StructuralPartialEq for Tile
Auto Trait Implementations§
impl Forget for Tile
impl Freeze for Tile
impl Move 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