Struct vex_sdk::vision::V5_DeviceVisionRgb
source · #[repr(C, packed(1))]pub struct V5_DeviceVisionRgb {
pub red: u8,
pub green: u8,
pub blue: u8,
pub brightness: u8,
}Fields§
§red: u8§green: u8§blue: u8§brightness: u8Trait Implementations§
source§impl Clone for V5_DeviceVisionRgb
impl Clone for V5_DeviceVisionRgb
source§fn clone(&self) -> V5_DeviceVisionRgb
fn clone(&self) -> V5_DeviceVisionRgb
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_DeviceVisionRgb
impl Debug for V5_DeviceVisionRgb
source§impl Default for V5_DeviceVisionRgb
impl Default for V5_DeviceVisionRgb
source§fn default() -> V5_DeviceVisionRgb
fn default() -> V5_DeviceVisionRgb
Returns the “default value” for a type. Read more
source§impl PartialEq for V5_DeviceVisionRgb
impl PartialEq for V5_DeviceVisionRgb
source§fn eq(&self, other: &V5_DeviceVisionRgb) -> bool
fn eq(&self, other: &V5_DeviceVisionRgb) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl Copy for V5_DeviceVisionRgb
impl Eq for V5_DeviceVisionRgb
impl StructuralPartialEq for V5_DeviceVisionRgb
Auto Trait Implementations§
impl Freeze for V5_DeviceVisionRgb
impl RefUnwindSafe for V5_DeviceVisionRgb
impl Send for V5_DeviceVisionRgb
impl Sync for V5_DeviceVisionRgb
impl Unpin for V5_DeviceVisionRgb
impl UnwindSafe for V5_DeviceVisionRgb
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