#[repr(i32)]pub enum SourceKind {
Process = 0,
Substituted = 1,
}
Expand description
(default=process) Defines the source of a value. NOTE 1 Substitution may be done locally or via the communication services. In the second case, specific attributes with a FC=SV are used. NOTE 2 There are various means to clear a substitution. As an example, a substitution that was done following an invalid condition may be cleared automatically if the invalid condition is cleared. However, this is a local issue and therefore
Variants§
Process = 0
The value is provided by an input function from the process I/O or is calculated from some application function.
Substituted = 1
The value is provided by an operator input or by an automatic source.
Implementations§
Trait Implementations§
Source§impl Clone for SourceKind
impl Clone for SourceKind
Source§fn clone(&self) -> SourceKind
fn clone(&self) -> SourceKind
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 SourceKind
impl Debug for SourceKind
Source§impl Default for SourceKind
impl Default for SourceKind
Source§fn default() -> SourceKind
fn default() -> SourceKind
Returns the “default value” for a type. Read more
Source§impl From<SourceKind> for i32
impl From<SourceKind> for i32
Source§fn from(value: SourceKind) -> i32
fn from(value: SourceKind) -> i32
Converts to this type from the input type.
Source§impl Hash for SourceKind
impl Hash for SourceKind
Source§impl Ord for SourceKind
impl Ord for SourceKind
Source§fn cmp(&self, other: &SourceKind) -> Ordering
fn cmp(&self, other: &SourceKind) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for SourceKind
impl PartialEq for SourceKind
Source§impl PartialOrd for SourceKind
impl PartialOrd for SourceKind
impl Copy for SourceKind
impl Eq for SourceKind
impl StructuralPartialEq for SourceKind
Auto Trait Implementations§
impl Freeze for SourceKind
impl RefUnwindSafe for SourceKind
impl Send for SourceKind
impl Sync for SourceKind
impl Unpin for SourceKind
impl UnwindSafe for SourceKind
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