Struct tinkerforge::led_strip_bricklet::RgbwValues
source · pub struct RgbwValues {
pub r: [u8; 12],
pub g: [u8; 12],
pub b: [u8; 12],
pub w: [u8; 12],
}
Fields§
§r: [u8; 12]
§g: [u8; 12]
§b: [u8; 12]
§w: [u8; 12]
Trait Implementations§
source§impl Clone for RgbwValues
impl Clone for RgbwValues
source§fn clone(&self) -> RgbwValues
fn clone(&self) -> RgbwValues
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 RgbwValues
impl Debug for RgbwValues
source§impl Default for RgbwValues
impl Default for RgbwValues
source§fn default() -> RgbwValues
fn default() -> RgbwValues
Returns the “default value” for a type. Read more
source§impl FromByteSlice for RgbwValues
impl FromByteSlice for RgbwValues
source§fn bytes_expected() -> usize
fn bytes_expected() -> usize
Returns how many bytes are expected to deserialize a instance of the implementing type. Currently this method is only used for strings.
source§fn from_le_byte_slice(bytes: &[u8]) -> RgbwValues
fn from_le_byte_slice(bytes: &[u8]) -> RgbwValues
Deserialize the implementing type from a byte slice.
source§impl Hash for RgbwValues
impl Hash for RgbwValues
source§impl PartialEq for RgbwValues
impl PartialEq for RgbwValues
source§fn eq(&self, other: &RgbwValues) -> bool
fn eq(&self, other: &RgbwValues) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for RgbwValues
impl Eq for RgbwValues
impl StructuralPartialEq for RgbwValues
Auto Trait Implementations§
impl RefUnwindSafe for RgbwValues
impl Send for RgbwValues
impl Sync for RgbwValues
impl Unpin for RgbwValues
impl UnwindSafe for RgbwValues
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