Struct tinkerforge::led_strip_bricklet::RgbValues
source · pub struct RgbValues {
pub r: [u8; 16],
pub g: [u8; 16],
pub b: [u8; 16],
}
Fields§
§r: [u8; 16]
§g: [u8; 16]
§b: [u8; 16]
Trait Implementations§
source§impl FromByteSlice for RgbValues
impl FromByteSlice for RgbValues
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]) -> RgbValues
fn from_le_byte_slice(bytes: &[u8]) -> RgbValues
Deserialize the implementing type from a byte slice.
source§impl PartialEq for RgbValues
impl PartialEq for RgbValues
impl Copy for RgbValues
impl Eq for RgbValues
impl StructuralPartialEq for RgbValues
Auto Trait Implementations§
impl RefUnwindSafe for RgbValues
impl Send for RgbValues
impl Sync for RgbValues
impl Unpin for RgbValues
impl UnwindSafe for RgbValues
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