pub enum ControlValue {
Boolean(bool),
Text(String),
Number(f64),
Enum(String),
}Variants§
Implementations§
Trait Implementations§
Source§impl Clone for ControlValue
impl Clone for ControlValue
Source§fn clone(&self) -> ControlValue
fn clone(&self) -> ControlValue
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 ControlValue
impl Debug for ControlValue
Source§impl<'de> Deserialize<'de> for ControlValue
impl<'de> Deserialize<'de> for ControlValue
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
Source§impl PartialEq for ControlValue
impl PartialEq for ControlValue
Source§impl Serialize for ControlValue
impl Serialize for ControlValue
impl StructuralPartialEq for ControlValue
Auto Trait Implementations§
impl Freeze for ControlValue
impl RefUnwindSafe for ControlValue
impl Send for ControlValue
impl Sync for ControlValue
impl Unpin for ControlValue
impl UnsafeUnpin for ControlValue
impl UnwindSafe for ControlValue
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