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 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl 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 T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
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
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more