#[repr(C)]pub enum PamojaEdge {
None = 0,
Set = 1,
Cleared = 2,
}Expand description
What a trigger reports when a reading changes its state, if anything.
Variants§
None = 0
Nothing changed.
Set = 1
The reading just crossed the line: the condition became true.
Cleared = 2
The reading just came back past the release band: the condition stopped holding.
Trait Implementations§
Source§impl Clone for PamojaEdge
impl Clone for PamojaEdge
Source§fn clone(&self) -> PamojaEdge
fn clone(&self) -> PamojaEdge
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for PamojaEdge
Source§impl Debug for PamojaEdge
impl Debug for PamojaEdge
impl Eq for PamojaEdge
Source§impl PartialEq for PamojaEdge
impl PartialEq for PamojaEdge
impl StructuralPartialEq for PamojaEdge
Auto Trait Implementations§
impl Freeze for PamojaEdge
impl RefUnwindSafe for PamojaEdge
impl Send for PamojaEdge
impl Sync for PamojaEdge
impl Unpin for PamojaEdge
impl UnsafeUnpin for PamojaEdge
impl UnwindSafe for PamojaEdge
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