pub struct EdgeTrigger {
pub source: Option<String>,
pub slope: Option<String>,
pub coupling: Option<String>,
pub level: Option<f64>,
pub mode: Option<TriggerMode>,
}Expand description
Edge-trigger settings for Scope::trigger_edge. Only the fields that
are set are applied, so level alone moves the level and leaves the
source and slope as they are. At least one must be set.
Fields§
§source: Option<String>Trigger source as the instrument names it ("CHAN1" on a Rigol,
"A" on a PicoScope).
slope: Option<String>Edge to trigger on, as the instrument names it ("rising",
"falling", …).
coupling: Option<String>The trigger path’s filter ("dc", "ac", "lfreject",
"hfreject"). This is not the channel’s input coupling; see
Scope::set_coupling for that.
level: Option<f64>Trigger level (V).
mode: Option<TriggerMode>Re-arm mode.
Trait Implementations§
Source§impl Clone for EdgeTrigger
impl Clone for EdgeTrigger
Source§impl Debug for EdgeTrigger
impl Debug for EdgeTrigger
Source§impl Default for EdgeTrigger
impl Default for EdgeTrigger
Source§impl PartialEq for EdgeTrigger
impl PartialEq for EdgeTrigger
impl StructuralPartialEq for EdgeTrigger
Auto Trait Implementations§
impl Freeze for EdgeTrigger
impl RefUnwindSafe for EdgeTrigger
impl Send for EdgeTrigger
impl Sync for EdgeTrigger
impl Unpin for EdgeTrigger
impl UnsafeUnpin for EdgeTrigger
impl UnwindSafe for EdgeTrigger
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