pub struct CropParams {
pub x: i64,
pub y: i64,
pub width: i64,
pub height: i64,
}Expand description
Extracts a fixed raster region into static output bounds.
Fields§
§x: i64Left edge of the crop region in pixels.
y: i64Top edge of the crop region in pixels.
width: i64Width of the crop region in pixels.
height: i64Height of the crop region in pixels.
Trait Implementations§
Source§impl Clone for CropParams
impl Clone for CropParams
Source§impl Debug for CropParams
impl Debug for CropParams
Source§impl Default for CropParams
impl Default for CropParams
Source§impl Delegated for CropParams
impl Delegated for CropParams
type Delegate = CropParamsDelegate
fn into_delegate(self) -> Self::Delegate
Auto Trait Implementations§
impl Freeze for CropParams
impl RefUnwindSafe for CropParams
impl Send for CropParams
impl Sync for CropParams
impl Unpin for CropParams
impl UnsafeUnpin for CropParams
impl UnwindSafe for CropParams
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