pub struct Oscilloscope {
pub triggering: bool,
pub falling_edge: bool,
pub threshold: f64,
pub depth: u32,
pub peaks: bool,
}Fields§
§triggering: bool§falling_edge: bool§threshold: f64§depth: u32§peaks: boolTrait Implementations§
Source§impl Default for Oscilloscope
impl Default for Oscilloscope
Source§impl DisplayMode for Oscilloscope
impl DisplayMode for Oscilloscope
fn mode_str(&self) -> &'static str
fn channel_name(&self, index: usize) -> String
fn header(&self, _: &GraphConfig) -> String
fn axis(&self, cfg: &GraphConfig, dimension: Dimension) -> Axis<'_>
fn references(&self, cfg: &GraphConfig) -> Vec<DataSet>
fn process(&mut self, cfg: &GraphConfig, data: &Matrix<f64>) -> Vec<DataSet>
fn handle(&mut self, event: Event)
Auto Trait Implementations§
impl Freeze for Oscilloscope
impl RefUnwindSafe for Oscilloscope
impl Send for Oscilloscope
impl Sync for Oscilloscope
impl Unpin for Oscilloscope
impl UnsafeUnpin for Oscilloscope
impl UnwindSafe for Oscilloscope
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<S> FromSample<S> for S
impl<S> FromSample<S> for S
fn from_sample_(s: S) -> S
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