pub enum SwValue {
V(f64),
Vf(f64),
Vg {
label: Option<String>,
vg_content: Vec<SwValue>,
},
Vt(String),
VtfNumber(f64),
VtfText(String),
}
Expand description
a single value of a compound primitive data type (curve, map)
Variants§
V(f64)
numerical value
Vf(f64)
numerical value
Vg
value group
Fields
Vt(String)
textual value
VtfNumber(f64)
Vtf element with numerical value
VtfText(String)
Vtf element with textual value
Trait Implementations§
impl StructuralPartialEq for SwValue
Auto Trait Implementations§
impl Freeze for SwValue
impl RefUnwindSafe for SwValue
impl Send for SwValue
impl Sync for SwValue
impl Unpin for SwValue
impl UnwindSafe for SwValue
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