#[repr(u8)]pub enum PackedArrayEnum {
Integer8 = 0,
Integer16 = 1,
Integer32 = 2,
Integer64 = 3,
Real32 = 34,
Real64 = 35,
ComplexReal32 = 51,
ComplexReal64 = 52,
}Expand description
WXF element-type tag for PackedArray. Same wire bytes as NumericArrayEnum
but restricted to the packed-compatible variants (no unsigned integers).
Variants§
Integer8 = 0
Integer16 = 1
Integer32 = 2
Integer64 = 3
Real32 = 34
Real64 = 35
ComplexReal32 = 51
ComplexReal64 = 52
Implementations§
Trait Implementations§
Source§impl Clone for PackedArrayEnum
impl Clone for PackedArrayEnum
Source§fn clone(&self) -> PackedArrayEnum
fn clone(&self) -> PackedArrayEnum
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 moreimpl Copy for PackedArrayEnum
Source§impl Debug for PackedArrayEnum
impl Debug for PackedArrayEnum
impl Eq for PackedArrayEnum
Source§impl From<PackedArrayEnum> for NumericArrayEnum
impl From<PackedArrayEnum> for NumericArrayEnum
Source§fn from(p: PackedArrayEnum) -> Self
fn from(p: PackedArrayEnum) -> Self
Converts to this type from the input type.
Source§impl Hash for PackedArrayEnum
impl Hash for PackedArrayEnum
Source§impl Ord for PackedArrayEnum
impl Ord for PackedArrayEnum
Source§fn cmp(&self, other: &PackedArrayEnum) -> Ordering
fn cmp(&self, other: &PackedArrayEnum) -> Ordering
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for PackedArrayEnum
impl PartialEq for PackedArrayEnum
Source§fn eq(&self, other: &PackedArrayEnum) -> bool
fn eq(&self, other: &PackedArrayEnum) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl PartialOrd for PackedArrayEnum
impl PartialOrd for PackedArrayEnum
impl StructuralPartialEq for PackedArrayEnum
Source§impl TryFrom<NumericArrayEnum> for PackedArrayEnum
impl TryFrom<NumericArrayEnum> for PackedArrayEnum
Source§impl TryFrom<u8> for PackedArrayEnum
impl TryFrom<u8> for PackedArrayEnum
Source§type Error = TryFromPrimitiveError<PackedArrayEnum>
type Error = TryFromPrimitiveError<PackedArrayEnum>
The type returned in the event of a conversion error.
Source§impl TryFromPrimitive for PackedArrayEnum
impl TryFromPrimitive for PackedArrayEnum
const NAME: &'static str = "PackedArrayEnum"
type Primitive = u8
type Error = TryFromPrimitiveError<PackedArrayEnum>
fn try_from_primitive( number: Self::Primitive, ) -> Result<Self, TryFromPrimitiveError<Self>>
Auto Trait Implementations§
impl Freeze for PackedArrayEnum
impl RefUnwindSafe for PackedArrayEnum
impl Send for PackedArrayEnum
impl Sync for PackedArrayEnum
impl Unpin for PackedArrayEnum
impl UnsafeUnpin for PackedArrayEnum
impl UnwindSafe for PackedArrayEnum
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