pub struct CropOptions {
pub clip_top: bool,
pub clip_left: bool,
}Expand description
Specifies which sides to be clipped when cropping an image.
Fields§
§clip_top: boolIf true, the top side should be clipped.
clip_left: boolIf true, the left side should be clipped.
Trait Implementations§
Source§impl Clone for CropOptions
impl Clone for CropOptions
Source§fn clone(&self) -> CropOptions
fn clone(&self) -> CropOptions
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for CropOptions
impl Debug for CropOptions
Source§impl PartialEq for CropOptions
impl PartialEq for CropOptions
impl Eq for CropOptions
impl StructuralPartialEq for CropOptions
Auto Trait Implementations§
impl Freeze for CropOptions
impl RefUnwindSafe for CropOptions
impl Send for CropOptions
impl Sync for CropOptions
impl Unpin for CropOptions
impl UnwindSafe for CropOptions
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