#[non_exhaustive]pub enum Values {
Byte(Vec<i8>),
Char(Vec<u8>),
Short(Vec<i16>),
Int(Vec<i32>),
Float(Vec<f32>),
Double(Vec<f64>),
}Expand description
A block of values of one type, in row-major order.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Byte(Vec<i8>)
NC_BYTE, read as signed (the specification’s default).
Char(Vec<u8>)
NC_CHAR, as the bytes stored; the specification leaves their encoding open.
Short(Vec<i16>)
NC_SHORT.
Int(Vec<i32>)
NC_INT.
Float(Vec<f32>)
NC_FLOAT.
Double(Vec<f64>)
NC_DOUBLE.
Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Values
impl<'de> Deserialize<'de> for Values
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
impl StructuralPartialEq for Values
Auto Trait Implementations§
impl Freeze for Values
impl RefUnwindSafe for Values
impl Send for Values
impl Sync for Values
impl Unpin for Values
impl UnsafeUnpin for Values
impl UnwindSafe for Values
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