Struct webrender::image_tiling::TileIteratorExtent
source · pub struct TileIteratorExtent {
tile_range: Range<i32>,
image_tiles: Range<i32>,
first_tile_layout_size: f32,
last_tile_layout_size: f32,
layout_tiling_origin: f32,
layout_prim_start: f32,
}
Fields§
§tile_range: Range<i32>
Range of visible tiles to iterate over in number of tiles.
image_tiles: Range<i32>
Range of tiles of the full image including tiles that are culled out.
first_tile_layout_size: f32
Size of the first tile in layout space.
last_tile_layout_size: f32
Size of the last tile in layout space.
layout_tiling_origin: f32
Position of blob point (0, 0) in layout space.
layout_prim_start: f32
Position of the top-left corner of the primitive rect in layout space.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for TileIteratorExtent
impl RefUnwindSafe for TileIteratorExtent
impl Send for TileIteratorExtent
impl Sync for TileIteratorExtent
impl Unpin for TileIteratorExtent
impl UnwindSafe for TileIteratorExtent
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
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more