pub enum SmartValue {
Integer(i64),
Float(f64),
Boolean(bool),
Text(String),
}Variants§
Trait Implementations§
Source§impl Clone for SmartValue
impl Clone for SmartValue
Source§fn clone(&self) -> SmartValue
fn clone(&self) -> SmartValue
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 SmartValue
impl Debug for SmartValue
Auto Trait Implementations§
impl Freeze for SmartValue
impl RefUnwindSafe for SmartValue
impl Send for SmartValue
impl Sync for SmartValue
impl Unpin for SmartValue
impl UnsafeUnpin for SmartValue
impl UnwindSafe for SmartValue
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