pub struct BeatOptions {
pub channel: usize,
pub max_blocks: Option<usize>,
pub plus_threshold_mv: f64,
pub minus_threshold_mv: f64,
pub refractory_ms: f64,
pub smoothing: bool,
}Fields§
§channel: usize§max_blocks: Option<usize>§plus_threshold_mv: f64§minus_threshold_mv: f64§refractory_ms: f64§smoothing: boolOptional smoothing flag from conf_beatdetectorsetting (stored; detection uses thresholds).
Trait Implementations§
Source§impl Clone for BeatOptions
impl Clone for BeatOptions
Source§impl Debug for BeatOptions
impl Debug for BeatOptions
Auto Trait Implementations§
impl Freeze for BeatOptions
impl RefUnwindSafe for BeatOptions
impl Send for BeatOptions
impl Sync for BeatOptions
impl Unpin for BeatOptions
impl UnsafeUnpin for BeatOptions
impl UnwindSafe for BeatOptions
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more