Struct tinkerforge::color_bricklet::ColorEvent
source · Fields
r: u16
g: u16
b: u16
c: u16
Trait Implementations
sourceimpl Clone for ColorEvent
impl Clone for ColorEvent
sourcefn clone(&self) -> ColorEvent
fn clone(&self) -> ColorEvent
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for ColorEvent
impl Debug for ColorEvent
sourceimpl Default for ColorEvent
impl Default for ColorEvent
sourcefn default() -> ColorEvent
fn default() -> ColorEvent
Returns the “default value” for a type. Read more
sourceimpl FromByteSlice for ColorEvent
impl FromByteSlice for ColorEvent
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]) -> ColorEvent
fn from_le_bytes(bytes: &[u8]) -> ColorEvent
Deserialize the implementing type from a byte slice.
sourceimpl Hash for ColorEvent
impl Hash for ColorEvent
sourceimpl PartialEq<ColorEvent> for ColorEvent
impl PartialEq<ColorEvent> for ColorEvent
sourcefn eq(&self, other: &ColorEvent) -> bool
fn eq(&self, other: &ColorEvent) -> bool
impl Copy for ColorEvent
impl Eq for ColorEvent
impl StructuralEq for ColorEvent
impl StructuralPartialEq for ColorEvent
Auto Trait Implementations
impl RefUnwindSafe for ColorEvent
impl Send for ColorEvent
impl Sync for ColorEvent
impl Unpin for ColorEvent
impl UnwindSafe for ColorEvent
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