pub struct Crop {
pub x: u32,
pub y: u32,
pub width: u32,
pub height: u32,
}Expand description
A rectangle in coded coordinates.
Fields§
§x: u32Left edge.
y: u32Top edge.
width: u32Width.
height: u32Height.
Trait Implementations§
impl Copy for Crop
impl Eq for Crop
impl StructuralPartialEq for Crop
Auto Trait Implementations§
impl Freeze for Crop
impl RefUnwindSafe for Crop
impl Send for Crop
impl Sync for Crop
impl Unpin for Crop
impl UnsafeUnpin for Crop
impl UnwindSafe for Crop
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