pub enum AverageNum {
No = 0,
Avg2 = 1,
Avg4 = 2,
Avg8 = 3,
Avg16 = 4,
Avg32 = 5,
Avg64 = 6,
}
Expand description
Number of samples to average. Reduces noise at the cost of latency and responsiveness. Applies to both data and some feature engines.
Variants§
No = 0
No averaging
Avg2 = 1
Average 2 samples
Avg4 = 2
Average 4 samples
Avg8 = 3
Average 8 samples
Avg16 = 4
Average 16 samples
Avg32 = 5
Average 32 samples
Avg64 = 6
Average 64 samples
Trait Implementations§
Source§impl Clone for AverageNum
impl Clone for AverageNum
Source§fn clone(&self) -> AverageNum
fn clone(&self) -> AverageNum
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 AverageNum
impl Debug for AverageNum
Source§impl From<AverageNum> for u8
impl From<AverageNum> for u8
Source§fn from(value: AverageNum) -> Self
fn from(value: AverageNum) -> Self
Converts to this type from the input type.
Source§impl PartialEq for AverageNum
impl PartialEq for AverageNum
Source§impl TryFrom<u8> for AverageNum
impl TryFrom<u8> for AverageNum
impl Copy for AverageNum
impl StructuralPartialEq for AverageNum
Auto Trait Implementations§
impl Freeze for AverageNum
impl RefUnwindSafe for AverageNum
impl Send for AverageNum
impl Sync for AverageNum
impl Unpin for AverageNum
impl UnwindSafe for AverageNum
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