pub struct Monitor {
pub id: String,
pub mode: String,
pub opcode: String,
pub params: MonitorParams,
pub sprite_name: Option<String>,
pub value: Value,
pub x: f64,
pub y: f64,
pub visible: bool,
pub slider_min: f64,
pub slider_max: f64,
pub is_discrete: bool,
}
Expand description
A monitor is the grey and orange rectangle that outputs the variable value.
Fields§
§id: String
§mode: String
§opcode: String
§params: MonitorParams
§sprite_name: Option<String>
§value: Value
§x: f64
§y: f64
§visible: bool
§slider_min: f64
§slider_max: f64
§is_discrete: bool
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Monitor
impl<'de> Deserialize<'de> for Monitor
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
impl StructuralPartialEq for Monitor
Auto Trait Implementations§
impl Freeze for Monitor
impl RefUnwindSafe for Monitor
impl Send for Monitor
impl Sync for Monitor
impl Unpin for Monitor
impl UnwindSafe for Monitor
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