pub enum SignalAction {
Label(String),
Value(Expr),
On {
condition: Condition,
name: Option<String>,
},
Off(Condition),
}Expand description
SIGNAL variants.
Variants§
Label(String)
SIGNAL label
Value(Expr)
SIGNAL VALUE expr
On
SIGNAL ON condition [NAME label]
Off(Condition)
SIGNAL OFF condition
Trait Implementations§
Source§impl Clone for SignalAction
impl Clone for SignalAction
Source§fn clone(&self) -> SignalAction
fn clone(&self) -> SignalAction
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 moreAuto Trait Implementations§
impl Freeze for SignalAction
impl RefUnwindSafe for SignalAction
impl Send for SignalAction
impl Sync for SignalAction
impl Unpin for SignalAction
impl UnsafeUnpin for SignalAction
impl UnwindSafe for SignalAction
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