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.
Source§impl From<IntArray> for ArrayElement
impl From<IntArray> for ArrayElement
Auto Trait Implementations§
impl Freeze for ArrayElement
impl RefUnwindSafe for ArrayElement
impl Send for ArrayElement
impl Sync for ArrayElement
impl Unpin for ArrayElement
impl UnwindSafe for ArrayElement
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