pub struct SurfaceTileRect { /* private fields */ }Expand description
Single 1:1 physical surface tile mapped to its exact logical CSS/point bounds with zero resampling.
Implementations§
Source§impl SurfaceTileRect
Implements impl #impl_generics #name #ty_generics #where_clause.
impl SurfaceTileRect
Implements impl #impl_generics #name #ty_generics #where_clause.
pub fn get_tile_col(&self) -> u32
pub fn get_tile_row(&self) -> u32
pub fn get_physical_x(&self) -> u32
pub fn get_physical_y(&self) -> u32
pub fn get_physical_width(&self) -> u32
pub fn get_physical_height(&self) -> u32
pub fn get_logical_x(&self) -> f64
pub fn get_logical_y(&self) -> f64
pub fn get_logical_width(&self) -> f64
pub fn get_logical_height(&self) -> f64
Trait Implementations§
Source§impl Clone for SurfaceTileRect
impl Clone for SurfaceTileRect
impl Copy for SurfaceTileRect
Source§impl Debug for SurfaceTileRect
impl Debug for SurfaceTileRect
Source§impl PartialEq for SurfaceTileRect
impl PartialEq for SurfaceTileRect
impl StructuralPartialEq for SurfaceTileRect
Auto Trait Implementations§
impl Forget for SurfaceTileRect
impl Freeze for SurfaceTileRect
impl Move for SurfaceTileRect
impl RefUnwindSafe for SurfaceTileRect
impl Send for SurfaceTileRect
impl Sync for SurfaceTileRect
impl Unpin for SurfaceTileRect
impl UnsafeUnpin for SurfaceTileRect
impl UnwindSafe for SurfaceTileRect
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