pub struct CropSpec {
pub size: usize,
pub is_global: bool,
}Expand description
Per-crop spec returned by multi_crop.
Fields§
§size: usizeCrop size (assumed square).
is_global: boolTrue if this is a global crop, false if local.
Trait Implementations§
impl Copy for CropSpec
impl StructuralPartialEq for CropSpec
Auto Trait Implementations§
impl Freeze for CropSpec
impl RefUnwindSafe for CropSpec
impl Send for CropSpec
impl Sync for CropSpec
impl Unpin for CropSpec
impl UnsafeUnpin for CropSpec
impl UnwindSafe for CropSpec
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