pub struct Array {
pub value_type: VariantScalarTypeId,
pub values: Vec<Variant>,
pub dimensions: Option<Vec<u32>>,
}Expand description
A homogeneous array in row-major order. Products of matrix dimensions must match the value count.
Fields§
§value_type: VariantScalarTypeIdBuilt-in type carried by every element. Use Variant for heterogeneous arrays.
values: Vec<Variant>§dimensions: Option<Vec<u32>>Present for matrices with at least two nonzero dimensions.
Trait Implementations§
impl StructuralPartialEq for Array
Auto Trait Implementations§
impl !RefUnwindSafe for Array
impl !UnwindSafe for Array
impl Forget for Array
impl Freeze for Array
impl Move for Array
impl Send for Array
impl Sync for Array
impl Unpin for Array
impl UnsafeUnpin for Array
Blanket Implementations§
Source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
Source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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