pub struct Rect {
pub x: u32,
pub y: u32,
pub width: u32,
pub height: u32,
}Expand description
A rectangle in the selected image’s stored coordinates, before orientation.
Fields§
§x: u32Horizontal origin.
y: u32Vertical origin.
width: u32Width in samples.
height: u32Height in rows.
Trait Implementations§
impl Copy for Rect
impl Eq for Rect
Source§impl From<Rect> for RegionRequest
impl From<Rect> for RegionRequest
impl StructuralPartialEq for Rect
Auto Trait Implementations§
impl Freeze for Rect
impl RefUnwindSafe for Rect
impl Send for Rect
impl Sync for Rect
impl Unpin for Rect
impl UnsafeUnpin for Rect
impl UnwindSafe for Rect
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