#[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: u8
Trait 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
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