pub enum ArrayItem {
Value(Expr),
Nested(Vec<ArrayItem>),
}Expand description
An item of an array’s initializer (new[] { … }).
Variants§
Implementations§
Trait Implementations§
impl StructuralPartialEq for ArrayItem
Auto Trait Implementations§
impl Freeze for ArrayItem
impl RefUnwindSafe for ArrayItem
impl Send for ArrayItem
impl Sync for ArrayItem
impl Unpin for ArrayItem
impl UnsafeUnpin for ArrayItem
impl UnwindSafe for ArrayItem
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