pub struct UvLightCallbackThreshold {
pub option: char,
pub min: u32,
pub max: u32,
}
Fields§
§option: char
§min: u32
§max: u32
Trait Implementations§
source§impl Clone for UvLightCallbackThreshold
impl Clone for UvLightCallbackThreshold
source§fn clone(&self) -> UvLightCallbackThreshold
fn clone(&self) -> UvLightCallbackThreshold
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 UvLightCallbackThreshold
impl Debug for UvLightCallbackThreshold
source§impl Default for UvLightCallbackThreshold
impl Default for UvLightCallbackThreshold
source§fn default() -> UvLightCallbackThreshold
fn default() -> UvLightCallbackThreshold
Returns the “default value” for a type. Read more
source§impl FromByteSlice for UvLightCallbackThreshold
impl FromByteSlice for UvLightCallbackThreshold
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]) -> UvLightCallbackThreshold
fn from_le_byte_slice(bytes: &[u8]) -> UvLightCallbackThreshold
Deserialize the implementing type from a byte slice.
source§impl Hash for UvLightCallbackThreshold
impl Hash for UvLightCallbackThreshold
source§impl PartialEq for UvLightCallbackThreshold
impl PartialEq for UvLightCallbackThreshold
source§fn eq(&self, other: &UvLightCallbackThreshold) -> bool
fn eq(&self, other: &UvLightCallbackThreshold) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for UvLightCallbackThreshold
impl Eq for UvLightCallbackThreshold
impl StructuralPartialEq for UvLightCallbackThreshold
Auto Trait Implementations§
impl RefUnwindSafe for UvLightCallbackThreshold
impl Send for UvLightCallbackThreshold
impl Sync for UvLightCallbackThreshold
impl Unpin for UvLightCallbackThreshold
impl UnwindSafe for UvLightCallbackThreshold
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