pub struct ScalarVariable {
pub name: String,
pub value_reference: c_uint,
pub description: String,
pub causality: Causality,
pub variability: Variability,
pub initial: Option<Initial>,
pub can_handle_multiple_set_per_time_instant: Option<bool>,
pub annotations: Option<()>,
pub signal_type: SignalType,
}Fields§
§name: String§value_reference: c_uint§description: String§causality: Causality§variability: Variability§initial: Option<Initial>§can_handle_multiple_set_per_time_instant: Option<bool>§annotations: Option<()>§signal_type: SignalTypeTrait Implementations§
Source§impl Debug for ScalarVariable
impl Debug for ScalarVariable
Source§impl<'de> Deserialize<'de> for ScalarVariable
impl<'de> Deserialize<'de> for ScalarVariable
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
Source§impl Hash for ScalarVariable
impl Hash for ScalarVariable
Source§impl PartialEq for ScalarVariable
impl PartialEq for ScalarVariable
impl Eq for ScalarVariable
Auto Trait Implementations§
impl Freeze for ScalarVariable
impl RefUnwindSafe for ScalarVariable
impl Send for ScalarVariable
impl Sync for ScalarVariable
impl Unpin for ScalarVariable
impl UnwindSafe for ScalarVariable
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
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more