pub enum RuntimeValue {
Integer(i64),
Double(f64),
Boolean(bool),
String(String),
HogwartsHouse(HogwartsHouse),
}Variants§
Trait Implementations§
Source§impl Add for RuntimeValue
impl Add for RuntimeValue
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 · 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 Display for RuntimeValue
impl Display for RuntimeValue
Source§impl Div for RuntimeValue
impl Div for RuntimeValue
Source§impl From<Atom> for RuntimeValue
impl From<Atom> for RuntimeValue
Source§impl Mul for RuntimeValue
impl Mul for RuntimeValue
Source§impl Not for RuntimeValue
impl Not for RuntimeValue
Source§impl PartialEq for RuntimeValue
impl PartialEq for RuntimeValue
Source§impl Sub for RuntimeValue
impl Sub for RuntimeValue
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 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