pub struct PxRect {
pub x: u32,
pub y: u32,
pub w: u32,
pub h: u32,
}Expand description
A resolved, pixel-space rectangle, guaranteed in-bounds by Region::resolve.
Fields§
§x: u32§y: u32§w: u32§h: u32Trait Implementations§
impl Copy for PxRect
impl Eq for PxRect
impl StructuralPartialEq for PxRect
Auto Trait Implementations§
impl Freeze for PxRect
impl RefUnwindSafe for PxRect
impl Send for PxRect
impl Sync for PxRect
impl Unpin for PxRect
impl UnsafeUnpin for PxRect
impl UnwindSafe for PxRect
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