pub struct SynchronousMachineUserDefined {
pub base: SynchronousMachineDynamics,
pub proprietary: Option<bool>,
}Expand description
Synchronous machine whose dynamic behaviour is described by a user-defined model.
Fields§
§base: SynchronousMachineDynamics§proprietary: Option<bool>Behaviour is based on a proprietary model as opposed to a detailed model. true = user-defined model is proprietary with behaviour mutually understood by sending and receiving applications and parameters passed as general attributes false = user-defined model is explicitly defined in terms of control blocks and their input and output signals.
Implementations§
Source§impl SynchronousMachineUserDefined
impl SynchronousMachineUserDefined
pub fn from_block(b: &RdfBlock) -> Self
Trait Implementations§
Source§impl Clone for SynchronousMachineUserDefined
impl Clone for SynchronousMachineUserDefined
Source§fn clone(&self) -> SynchronousMachineUserDefined
fn clone(&self) -> SynchronousMachineUserDefined
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 moreSource§impl Default for SynchronousMachineUserDefined
impl Default for SynchronousMachineUserDefined
Source§fn default() -> SynchronousMachineUserDefined
fn default() -> SynchronousMachineUserDefined
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for SynchronousMachineUserDefined
impl<'de> Deserialize<'de> for SynchronousMachineUserDefined
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for SynchronousMachineUserDefined
impl RefUnwindSafe for SynchronousMachineUserDefined
impl Send for SynchronousMachineUserDefined
impl Sync for SynchronousMachineUserDefined
impl Unpin for SynchronousMachineUserDefined
impl UnsafeUnpin for SynchronousMachineUserDefined
impl UnwindSafe for SynchronousMachineUserDefined
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