pub struct Roi {
pub x: i64,
pub y: i64,
pub width: i64,
pub height: i64,
}Expand description
A region of interest: the offsets of its top-left corner on the sensor, and its size, in pixels.
Fields§
§x: i64OffsetX.
y: i64OffsetY.
width: i64Width.
height: i64Height.
Trait Implementations§
impl Copy for Roi
impl Eq for Roi
impl StructuralPartialEq for Roi
Auto Trait Implementations§
impl Freeze for Roi
impl RefUnwindSafe for Roi
impl Send for Roi
impl Sync for Roi
impl Unpin for Roi
impl UnsafeUnpin for Roi
impl UnwindSafe for Roi
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.