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