pub enum TriggerType {
Timer,
TimeOfDay,
HiLevel,
LowLevel,
}Expand description
Trigger kind for a simple control (§2.8.1).
Variants§
Timer
Fires after elapsed simulation time.
TimeOfDay
Fires at a specific time of day.
HiLevel
Fires when a node grade rises above a threshold.
LowLevel
Fires when a node grade falls below a threshold.
Trait Implementations§
Source§impl Clone for TriggerType
impl Clone for TriggerType
Source§fn clone(&self) -> TriggerType
fn clone(&self) -> TriggerType
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 TriggerType
Source§impl Debug for TriggerType
impl Debug for TriggerType
impl Eq for TriggerType
Source§impl PartialEq for TriggerType
impl PartialEq for TriggerType
Source§fn eq(&self, other: &TriggerType) -> bool
fn eq(&self, other: &TriggerType) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for TriggerType
Auto Trait Implementations§
impl Freeze for TriggerType
impl RefUnwindSafe for TriggerType
impl Send for TriggerType
impl Sync for TriggerType
impl Unpin for TriggerType
impl UnsafeUnpin for TriggerType
impl UnwindSafe for TriggerType
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