pub struct PixelRect {
pub x: i32,
pub y: i32,
pub w: u32,
pub h: u32,
}Expand description
Axis-aligned pixel rectangle in physical screen coordinates.
Fields§
§x: i32§y: i32§w: u32§h: u32Implementations§
Trait Implementations§
impl Copy for PixelRect
impl Eq for PixelRect
impl StructuralPartialEq for PixelRect
Auto Trait Implementations§
impl Forget for PixelRect
impl Freeze for PixelRect
impl Move for PixelRect
impl RefUnwindSafe for PixelRect
impl Send for PixelRect
impl Sync for PixelRect
impl Unpin for PixelRect
impl UnsafeUnpin for PixelRect
impl UnwindSafe for PixelRect
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