pub enum StateVariableKind {
Simple(DataType),
Enum(Vec<String>),
Range(StateVariableRange),
}Expand description
The type of a state variable.
Variants§
Simple(DataType)
Just a value of some datatype
Enum(Vec<String>)
An enumeration of possible strings. Can have a default value.
Range(StateVariableRange)
A Range of values.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for StateVariableKind
impl RefUnwindSafe for StateVariableKind
impl Send for StateVariableKind
impl Sync for StateVariableKind
impl Unpin for StateVariableKind
impl UnsafeUnpin for StateVariableKind
impl UnwindSafe for StateVariableKind
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