pub enum PackedArray {
Show 13 variants Double(Vec<f64>), Float(Vec<f32>), Int32(Vec<i32>), Int64(Vec<i64>), UInt32(Vec<u32>), UInt64(Vec<u64>), SInt32(Vec<i32>), SInt64(Vec<i64>), Fixed32(Vec<u32>), Fixed64(Vec<u64>), SFixed32(Vec<i32>), SFixed64(Vec<i64>), Bool(Vec<bool>),
}
Expand description

Packed scalar fields.

Variants

Double(Vec<f64>)

double value.

Float(Vec<f32>)

float value.

Int32(Vec<i32>)

int32 value.

Int64(Vec<i64>)

int64 value.

UInt32(Vec<u32>)

uint32 value.

UInt64(Vec<u64>)

uint64 value.

SInt32(Vec<i32>)

sint32 value.

SInt64(Vec<i64>)

sint64 value.

Fixed32(Vec<u32>)

fixed32 value.

Fixed64(Vec<u64>)

fixed64 value.

SFixed32(Vec<i32>)

sfixed32 value.

SFixed64(Vec<i64>)

sfixed64 value.

Bool(Vec<bool>)

bool value.

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

🔬 This is a nightly-only experimental API. (toowned_clone_into)

Uses borrowed data to replace owned data, usually by cloning. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.