Struct tinkerforge::rgb_led_button_bricklet::Color
source · Fields
red: u8
green: u8
blue: u8
Trait Implementations
sourceimpl FromByteSlice for Color
impl FromByteSlice for Color
sourcefn 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.
sourcefn from_le_bytes(bytes: &[u8]) -> Color
fn from_le_bytes(bytes: &[u8]) -> Color
Deserialize the implementing type from a byte slice.
impl Copy for Color
impl Eq for Color
impl StructuralEq for Color
impl StructuralPartialEq for Color
Auto Trait Implementations
impl RefUnwindSafe for Color
impl Send for Color
impl Sync for Color
impl Unpin for Color
impl UnwindSafe for Color
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more