Enum libspa::pod::ValueArray
source · 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 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 ValueArray
impl Debug for ValueArray
source§impl PartialEq for ValueArray
impl PartialEq for ValueArray
source§fn eq(&self, other: &ValueArray) -> bool
fn eq(&self, other: &ValueArray) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for ValueArray
Auto Trait Implementations§
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