pub struct Crop {
pub x: u32,
pub y: u32,
pub width: u32,
pub height: u32,
}Expand description
Crop position and size
Fields§
§x: u32x position of the cropped image
y: u32y position of the cropped image
width: u32width of the cropped image
height: u32height of the cropped image
Trait Implementations§
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 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