Struct vex_sdk::ai_vision::V5_DeviceAiVisionColor
source · #[repr(C, packed(1))]pub struct V5_DeviceAiVisionColor {
pub id: u8,
pub red: u8,
pub grn: u8,
pub blu: u8,
pub hangle: c_float,
pub hdsat: c_float,
pub reserved: u32,
}Fields§
§id: u8§red: u8§grn: u8§blu: u8§hangle: c_float§hdsat: c_float§reserved: u32Trait Implementations§
source§impl Clone for V5_DeviceAiVisionColor
impl Clone for V5_DeviceAiVisionColor
source§fn clone(&self) -> V5_DeviceAiVisionColor
fn clone(&self) -> V5_DeviceAiVisionColor
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_DeviceAiVisionColor
impl Debug for V5_DeviceAiVisionColor
source§impl Default for V5_DeviceAiVisionColor
impl Default for V5_DeviceAiVisionColor
source§fn default() -> V5_DeviceAiVisionColor
fn default() -> V5_DeviceAiVisionColor
Returns the “default value” for a type. Read more
source§impl PartialEq for V5_DeviceAiVisionColor
impl PartialEq for V5_DeviceAiVisionColor
source§fn eq(&self, other: &V5_DeviceAiVisionColor) -> bool
fn eq(&self, other: &V5_DeviceAiVisionColor) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl Copy for V5_DeviceAiVisionColor
impl StructuralPartialEq for V5_DeviceAiVisionColor
Auto Trait Implementations§
impl Freeze for V5_DeviceAiVisionColor
impl RefUnwindSafe for V5_DeviceAiVisionColor
impl Send for V5_DeviceAiVisionColor
impl Sync for V5_DeviceAiVisionColor
impl Unpin for V5_DeviceAiVisionColor
impl UnwindSafe for V5_DeviceAiVisionColor
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