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