pub enum RuntimeValue {
Number(f64),
Series(Vec<f64>),
Bool(bool),
Event(RuntimeEvent),
String(String),
}Variants§
Implementations§
Source§impl RuntimeValue
impl RuntimeValue
pub fn value_type(&self) -> ValueType
Trait Implementations§
Source§impl Clone for RuntimeValue
impl Clone for RuntimeValue
Source§fn clone(&self) -> RuntimeValue
fn clone(&self) -> RuntimeValue
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 Debug for RuntimeValue
impl Debug for RuntimeValue
Source§impl PartialEq for RuntimeValue
impl PartialEq for RuntimeValue
Source§fn eq(&self, other: &RuntimeValue) -> bool
fn eq(&self, other: &RuntimeValue) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for RuntimeValue
Auto Trait Implementations§
impl Freeze for RuntimeValue
impl RefUnwindSafe for RuntimeValue
impl Send for RuntimeValue
impl Sync for RuntimeValue
impl Unpin for RuntimeValue
impl UnsafeUnpin for RuntimeValue
impl UnwindSafe for RuntimeValue
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