pub struct TriggerConfig {
pub mode: OsciTriggerMode,
pub slope: TriggerSlope,
pub level: f64,
pub hysteresis: f64,
}Expand description
Trigger configuration for oscilloscope operations
Fields§
§mode: OsciTriggerMode§slope: TriggerSlope§level: f64§hysteresis: f64Implementations§
Source§impl TriggerConfig
impl TriggerConfig
pub fn new( mode: OsciTriggerMode, slope: TriggerSlope, level: f64, hysteresis: f64, ) -> Self
pub fn immediate() -> Self
pub fn level_trigger(level: f64, slope: TriggerSlope) -> Self
pub fn auto_trigger() -> Self
Trait Implementations§
Source§impl Clone for TriggerConfig
impl Clone for TriggerConfig
Source§fn clone(&self) -> TriggerConfig
fn clone(&self) -> TriggerConfig
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 TriggerConfig
impl Debug for TriggerConfig
impl Copy for TriggerConfig
Auto Trait Implementations§
impl Freeze for TriggerConfig
impl RefUnwindSafe for TriggerConfig
impl Send for TriggerConfig
impl Sync for TriggerConfig
impl Unpin for TriggerConfig
impl UnwindSafe for TriggerConfig
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