pub struct CompositeRect {
pub x: i32,
pub y: i32,
pub w: u32,
pub h: u32,
}Expand description
A rectangle in whole pixels, half-open in extent.
Fields§
§x: i32Left edge. May be negative; the region is clipped.
y: i32Top edge. May be negative; the region is clipped.
w: u32Width in pixels.
h: u32Height in pixels.
Trait Implementations§
Source§impl Clone for CompositeRect
impl Clone for CompositeRect
impl Copy for CompositeRect
Source§impl Debug for CompositeRect
impl Debug for CompositeRect
Source§impl Default for CompositeRect
impl Default for CompositeRect
impl Eq for CompositeRect
Source§impl PartialEq for CompositeRect
impl PartialEq for CompositeRect
impl StructuralPartialEq for CompositeRect
Auto Trait Implementations§
impl Freeze for CompositeRect
impl RefUnwindSafe for CompositeRect
impl Send for CompositeRect
impl Sync for CompositeRect
impl Unpin for CompositeRect
impl UnsafeUnpin for CompositeRect
impl UnwindSafe for CompositeRect
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