pub enum SemanticValue {
Text(String),
Number {
value: f64,
minimum: Option<f64>,
maximum: Option<f64>,
step: Option<f64>,
},
}Variants§
Trait Implementations§
Source§impl Clone for SemanticValue
impl Clone for SemanticValue
Source§fn clone(&self) -> SemanticValue
fn clone(&self) -> SemanticValue
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 SemanticValue
impl Debug for SemanticValue
Source§impl PartialEq for SemanticValue
impl PartialEq for SemanticValue
impl StructuralPartialEq for SemanticValue
Auto Trait Implementations§
impl Freeze for SemanticValue
impl RefUnwindSafe for SemanticValue
impl Send for SemanticValue
impl Sync for SemanticValue
impl Unpin for SemanticValue
impl UnsafeUnpin for SemanticValue
impl UnwindSafe for SemanticValue
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