Struct vex_sdk::ai_vision::V5_DeviceAiVisionColorData
source · #[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: u16left side of object
yoffset: u16top of object
width: u16width of object
height: u16height of object
angle: u16angle 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
source§impl PartialEq for V5_DeviceAiVisionColorData
impl PartialEq for V5_DeviceAiVisionColorData
source§fn eq(&self, other: &V5_DeviceAiVisionColorData) -> bool
fn eq(&self, other: &V5_DeviceAiVisionColorData) -> bool
This method tests for
self and other values to be equal, and is used
by ==.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