pub struct Array(/* private fields */);Expand description
Helper for flexible array construction.
Wraps Vec<Value> and implements From for slices, fixed-size
arrays, Vecs, and () (empty array), so that Value::array
can accept all of these through a single Into<Array> bound.
Rarely used directly.
Implementations§
Trait Implementations§
impl Eq for Array
impl StructuralPartialEq for Array
Auto Trait Implementations§
impl Freeze for Array
impl RefUnwindSafe for Array
impl Send for Array
impl Sync for Array
impl Unpin for Array
impl UnsafeUnpin for Array
impl UnwindSafe for Array
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