pub enum ValueArray {
None(Vec<()>),
Bool(Vec<bool>),
Id(Vec<Id>),
Int(Vec<i32>),
Long(Vec<i64>),
Float(Vec<f32>),
Double(Vec<f64>),
Rectangle(Vec<Rectangle>),
Fraction(Vec<Fraction>),
Fd(Vec<Fd>),
}
Expand description
an array of same type objects.
Variants§
None(Vec<()>)
an array of none.
Bool(Vec<bool>)
an array of booleans.
Id(Vec<Id>)
an array of Id.
Int(Vec<i32>)
an array of 32 bits integer.
Long(Vec<i64>)
an array of 64 bits integer.
Float(Vec<f32>)
an array of 32 bits floating.
Double(Vec<f64>)
an array of 64 bits floating.
Rectangle(Vec<Rectangle>)
an array of Rectangle.
Fraction(Vec<Fraction>)
an array of Fraction.
Fd(Vec<Fd>)
an array of Fd.
Trait Implementations§
Source§impl Clone for ValueArray
impl Clone for ValueArray
Source§fn clone(&self) -> ValueArray
fn clone(&self) -> ValueArray
Returns a duplicate 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 ValueArray
impl Debug for ValueArray
Source§impl PartialEq for ValueArray
impl PartialEq for ValueArray
impl StructuralPartialEq for ValueArray
Auto Trait Implementations§
impl Freeze for ValueArray
impl RefUnwindSafe for ValueArray
impl Send for ValueArray
impl Sync for ValueArray
impl Unpin for ValueArray
impl UnwindSafe for ValueArray
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