#[repr(C)]
pub struct RegionOfInterest { pub x_offset: u32, pub y_offset: u32, pub height: u32, pub width: u32, pub do_rectify: bool, }

Fields

x_offset: u32

Leftmost pixel of the ROI (0 if the ROI includes the left edge of the image)

y_offset: u32

Topmost pixel of the ROI (0 if the ROI includes the top edge of the image)

height: u32width: u32do_rectify: bool

True if a distinct rectified ROI should be calculated from the “raw” ROI in this message. Typically this should be False if the full image is captured (ROI not used), and True if a subwindow is captured (ROI used).

Trait Implementations

Deserialize this value from the given Serde deserializer. Read more
Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more
Unerase this erased pointer. Read more
Whether this implementor has acknowledged the 1.1.0 update to unerase’s documented implementation requirements. Read more
Turn this erasable pointer into an erased pointer. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.