#[repr(C)]pub struct v4l2_subdev_crop {
pub which: __u32,
pub pad: __u32,
pub rect: v4l2_rect,
pub stream: __u32,
pub reserved: [__u32; 7],
}
Expand description
struct v4l2_subdev_crop - Pad-level crop settings @which: format type (from enum v4l2_subdev_format_whence) @pad: pad number, as reported by the media API @rect: pad crop rectangle boundaries @stream: stream number, defined in subdev routing @reserved: drivers and applications must zero this array
The subdev crop API is an obsolete interface and may be removed in the future. It is superseded by the selection API. No new extensions to this structure will be accepted.
Fields§
§which: __u32
§pad: __u32
§rect: v4l2_rect
§stream: __u32
§reserved: [__u32; 7]
Trait Implementations§
Source§impl Clone for v4l2_subdev_crop
impl Clone for v4l2_subdev_crop
Source§fn clone(&self) -> v4l2_subdev_crop
fn clone(&self) -> v4l2_subdev_crop
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 v4l2_subdev_crop
impl Debug for v4l2_subdev_crop
impl Copy for v4l2_subdev_crop
Auto Trait Implementations§
impl Freeze for v4l2_subdev_crop
impl RefUnwindSafe for v4l2_subdev_crop
impl Send for v4l2_subdev_crop
impl Sync for v4l2_subdev_crop
impl Unpin for v4l2_subdev_crop
impl UnwindSafe for v4l2_subdev_crop
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