Struct scratch_file::Monitor[][src]

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,
}

A monitor is the grey and orange rectangle that outputs the variable value.

Fields

id: Stringmode: Stringopcode: Stringparams: MonitorParamssprite_name: Option<String>value: Valuex: f64y: f64visible: boolslider_min: f64slider_max: f64is_discrete: bool

Trait Implementations

impl Clone for Monitor[src]

impl Debug for Monitor[src]

impl Default for Monitor[src]

impl<'de> Deserialize<'de> for Monitor[src]

impl PartialEq<Monitor> for Monitor[src]

impl Serialize for Monitor[src]

impl StructuralPartialEq for Monitor[src]

Auto Trait Implementations

impl RefUnwindSafe for Monitor

impl Send for Monitor

impl Sync for Monitor

impl Unpin for Monitor

impl UnwindSafe for Monitor

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.