pub struct ImageCrop {
pub area: [u32; 2],
pub crop: [u32; 4],
}Expand description
The image area a camera produces from an active area of area size.
Fields§
§area: [u32; 2]Active-area [width, height].
crop: [u32; 4][x, y, width, height], x/y relative to the active area’s top-left corner.
Trait Implementations§
impl Copy for ImageCrop
impl Eq for ImageCrop
impl StructuralPartialEq for ImageCrop
Auto Trait Implementations§
impl Forget for ImageCrop
impl Freeze for ImageCrop
impl Move for ImageCrop
impl RefUnwindSafe for ImageCrop
impl Send for ImageCrop
impl Sync for ImageCrop
impl Unpin for ImageCrop
impl UnsafeUnpin for ImageCrop
impl UnwindSafe for ImageCrop
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