pub enum Element {
Int(i64),
Uint(u64),
Float(f64),
Bool(bool),
Text(String),
Complex(f64, f64),
Record(Vec<Element>),
}Expand description
One decoded array element.
Variants§
Int(i64)
A signed integer.
Uint(u64)
An unsigned integer.
Float(f64)
A float, including the half- and single-precision types widened to
f64.
Bool(bool)
A boolean, from bool8.
Text(String)
Fixed-length text, with trailing NULs trimmed.
Complex(f64, f64)
A complex number.
Record(Vec<Element>)
One record of a compound array.
Trait Implementations§
impl StructuralPartialEq for Element
Auto Trait Implementations§
impl Freeze for Element
impl RefUnwindSafe for Element
impl Send for Element
impl Sync for Element
impl Unpin for Element
impl UnsafeUnpin for Element
impl UnwindSafe for Element
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