#[repr(C)]pub struct V5_DeviceAiVisionColorData {
pub xoffset: u16,
pub yoffset: u16,
pub width: u16,
pub height: u16,
pub angle: u16,
}
Expand description
Color Detection Data
Fields§
§xoffset: u16
left side of object
yoffset: u16
top of object
width: u16
width of object
height: u16
height of object
angle: u16
angle of CC object in 0.1 deg units
Trait Implementations§
Source§impl Clone for V5_DeviceAiVisionColorData
impl Clone for V5_DeviceAiVisionColorData
Source§fn clone(&self) -> V5_DeviceAiVisionColorData
fn clone(&self) -> V5_DeviceAiVisionColorData
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 V5_DeviceAiVisionColorData
impl Debug for V5_DeviceAiVisionColorData
Source§impl Default for V5_DeviceAiVisionColorData
impl Default for V5_DeviceAiVisionColorData
Source§fn default() -> V5_DeviceAiVisionColorData
fn default() -> V5_DeviceAiVisionColorData
Returns the “default value” for a type. Read more
impl Copy for V5_DeviceAiVisionColorData
impl StructuralPartialEq for V5_DeviceAiVisionColorData
Auto Trait Implementations§
impl Freeze for V5_DeviceAiVisionColorData
impl RefUnwindSafe for V5_DeviceAiVisionColorData
impl Send for V5_DeviceAiVisionColorData
impl Sync for V5_DeviceAiVisionColorData
impl Unpin for V5_DeviceAiVisionColorData
impl UnwindSafe for V5_DeviceAiVisionColorData
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