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
sourceimpl ArrayElement
impl ArrayElement
Trait Implementations
sourceimpl Clone for ArrayElement
impl Clone for ArrayElement
sourcefn clone(&self) -> ArrayElement
fn clone(&self) -> ArrayElement
Returns a copy of the value. Read more
1.0.0 · sourceconst fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for ArrayElement
impl Debug for ArrayElement
sourceimpl From<BoolArray> for ArrayElement
impl From<BoolArray> for ArrayElement
sourceimpl From<FloatArray> for ArrayElement
impl From<FloatArray> for ArrayElement
sourcefn from(val: FloatArray) -> Self
fn from(val: FloatArray) -> Self
Converts to this type from the input type.
sourceimpl From<IdRefArray> for ArrayElement
impl From<IdRefArray> for ArrayElement
sourcefn from(val: IdRefArray) -> Self
fn from(val: IdRefArray) -> Self
Converts to this type from the input type.
sourceimpl From<IntArray> for ArrayElement
impl From<IntArray> for ArrayElement
Auto Trait Implementations
impl RefUnwindSafe for ArrayElement
impl Send for ArrayElement
impl Sync for ArrayElement
impl Unpin for ArrayElement
impl UnwindSafe for ArrayElement
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more