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