Enum dae_parser::ArrayElement
source · pub enum ArrayElement {
IdRef(IdRefArray),
Name(NameArray),
Bool(BoolArray),
Float(FloatArray),
Int(IntArray),
}
Expand description
A data array element.
Variants§
IdRef(IdRefArray)
Stores a homogenous array of ID reference values.
Name(NameArray)
Stores a homogenous array of symbolic name values.
Bool(BoolArray)
Stores a homogenous array of Boolean values.
Float(FloatArray)
Stores a homogenous array of floating-point values.
Int(IntArray)
Stores a homogenous array of integer values.
Implementations§
source§impl ArrayElement
impl ArrayElement
Trait Implementations§
source§impl Clone for ArrayElement
impl Clone for ArrayElement
source§fn clone(&self) -> ArrayElement
fn clone(&self) -> ArrayElement
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for ArrayElement
impl Debug for ArrayElement
source§impl From<BoolArray> for ArrayElement
impl From<BoolArray> for ArrayElement
source§impl From<FloatArray> for ArrayElement
impl From<FloatArray> for ArrayElement
source§fn from(val: FloatArray) -> Self
fn from(val: FloatArray) -> Self
Converts to this type from the input type.
source§impl From<IdRefArray> for ArrayElement
impl From<IdRefArray> for ArrayElement
source§fn from(val: IdRefArray) -> Self
fn from(val: IdRefArray) -> Self
Converts to this type from the input type.