pub struct ColorCallbackConfiguration {
pub period: u32,
pub value_has_to_change: bool,
}Fields§
§period: u32§value_has_to_change: boolTrait Implementations§
Source§impl Clone for ColorCallbackConfiguration
impl Clone for ColorCallbackConfiguration
Source§fn clone(&self) -> ColorCallbackConfiguration
fn clone(&self) -> ColorCallbackConfiguration
Returns a duplicate 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 ColorCallbackConfiguration
impl Debug for ColorCallbackConfiguration
Source§impl Default for ColorCallbackConfiguration
impl Default for ColorCallbackConfiguration
Source§fn default() -> ColorCallbackConfiguration
fn default() -> ColorCallbackConfiguration
Returns the “default value” for a type. Read more
Source§impl FromByteSlice for ColorCallbackConfiguration
impl FromByteSlice for ColorCallbackConfiguration
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]) -> ColorCallbackConfiguration
fn from_le_byte_slice(bytes: &[u8]) -> ColorCallbackConfiguration
Deserialize the implementing type from a byte slice.
Source§impl Hash for ColorCallbackConfiguration
impl Hash for ColorCallbackConfiguration
impl Copy for ColorCallbackConfiguration
impl Eq for ColorCallbackConfiguration
impl StructuralPartialEq for ColorCallbackConfiguration
Auto Trait Implementations§
impl Freeze for ColorCallbackConfiguration
impl RefUnwindSafe for ColorCallbackConfiguration
impl Send for ColorCallbackConfiguration
impl Sync for ColorCallbackConfiguration
impl Unpin for ColorCallbackConfiguration
impl UnwindSafe for ColorCallbackConfiguration
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