pub struct WindowStats {
pub mean: f64,
pub rms: f64,
pub min: f64,
pub max: f64,
}Expand description
一路输入在一个统计窗口内的读数,单位 ADC 码。
Fields§
§mean: f64均值。
rms: f64标准差(去掉均值后的 rms)。
min: f64最小值(分辨率 0.25 码)。
max: f64最大值。
Trait Implementations§
Source§impl Clone for WindowStats
impl Clone for WindowStats
Source§fn clone(&self) -> WindowStats
fn clone(&self) -> WindowStats
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 WindowStats
impl Debug for WindowStats
Source§impl PartialEq for WindowStats
impl PartialEq for WindowStats
impl Copy for WindowStats
impl StructuralPartialEq for WindowStats
Auto Trait Implementations§
impl Freeze for WindowStats
impl RefUnwindSafe for WindowStats
impl Send for WindowStats
impl Sync for WindowStats
impl Unpin for WindowStats
impl UnwindSafe for WindowStats
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