pub struct CropSuggestion {
pub x: i32,
pub y: i32,
pub w: i32,
pub h: i32,
}Expand description
A suggested crop rectangle (last stable cropdetect value).
Fields§
§x: i32§y: i32§w: i32§h: i32Trait Implementations§
Source§impl Clone for CropSuggestion
impl Clone for CropSuggestion
Source§fn clone(&self) -> CropSuggestion
fn clone(&self) -> CropSuggestion
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for CropSuggestion
Source§impl Debug for CropSuggestion
impl Debug for CropSuggestion
Source§impl PartialEq for CropSuggestion
impl PartialEq for CropSuggestion
Source§fn eq(&self, other: &CropSuggestion) -> bool
fn eq(&self, other: &CropSuggestion) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for CropSuggestion
Auto Trait Implementations§
impl Freeze for CropSuggestion
impl RefUnwindSafe for CropSuggestion
impl Send for CropSuggestion
impl Sync for CropSuggestion
impl Unpin for CropSuggestion
impl UnsafeUnpin for CropSuggestion
impl UnwindSafe for CropSuggestion
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