pub enum Value {
Int(Option<i64>),
Real(Option<f64>),
Vector(Option<[f64; 3]>),
Interval([Option<f64>; 2]),
Box([Option<f64>; 6]),
Char(u8),
Array(Vec<Value>),
Text(String),
}Expand description
One field value. Unset values (?) are None.
Variants§
Int(Option<i64>)
Real(Option<f64>)
Vector(Option<[f64; 3]>)
Interval([Option<f64>; 2])
Box([Option<f64>; 6])
Char(u8)
Array(Vec<Value>)
Text(String)
Trait Implementations§
impl StructuralPartialEq for Value
Auto Trait Implementations§
impl Forget for Value
impl Freeze for Value
impl Move for Value
impl RefUnwindSafe for Value
impl Send for Valuewhere
RawVecInner: Send,
impl Sync for Valuewhere
RawVecInner: Sync,
impl Unpin for Value
impl UnsafeUnpin for Valuewhere
*const u8 is !null: UnsafeUnpin,
PhantomData<Value>: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
impl UnwindSafe for Valuewhere
RawVecInner: UnwindSafe,
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