pub struct Crop {
pub x: u32,
pub y: u32,
pub width: u32,
pub height: u32,
}
Expand description
Crop Modifier for Image
Fields§
§x: u32
The x value from where the new Image should start
y: u32
The y value from where the new Image should start
width: u32
The width for the new Image
height: u32
The height for the new Image
Trait Implementations§
Auto Trait Implementations§
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