Enum humidity_core::sensors::Hygrometer
source · #[repr(u8)]pub enum Hygrometer {
YL69 = 0,
HW390 = 1,
}
Expand description
Represents a variety of soil moisture sensors.
Variants§
Trait Implementations§
source§impl Clone for Hygrometer
impl Clone for Hygrometer
source§fn clone(&self) -> Hygrometer
fn clone(&self) -> Hygrometer
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 Hygrometer
impl Debug for Hygrometer
source§impl Deserializable for Hygrometer
impl Deserializable for Hygrometer
fn deserialize(de: &mut Deserializer<'_>) -> Result<Self, Error>
source§impl PartialEq for Hygrometer
impl PartialEq for Hygrometer
source§fn eq(&self, other: &Hygrometer) -> bool
fn eq(&self, other: &Hygrometer) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Sensor for Hygrometer
impl Sensor for Hygrometer
source§impl Serializable for Hygrometer
impl Serializable for Hygrometer
impl Copy for Hygrometer
impl StructuralPartialEq for Hygrometer
Auto Trait Implementations§
impl Freeze for Hygrometer
impl RefUnwindSafe for Hygrometer
impl Send for Hygrometer
impl Sync for Hygrometer
impl Unpin for Hygrometer
impl UnwindSafe for Hygrometer
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