pub enum ArrayElement {
Expr(Box<Expr>),
Spread(Box<Expr>),
}Expand description
One element of an array literal.
Variants§
Trait Implementations§
Source§impl Clone for ArrayElement
impl Clone for ArrayElement
Source§impl Debug for ArrayElement
impl Debug for ArrayElement
Source§impl PartialEq for ArrayElement
impl PartialEq for ArrayElement
impl StructuralPartialEq for ArrayElement
Auto Trait Implementations§
impl Forget for ArrayElement
impl Freeze for ArrayElement
impl Move for ArrayElement
impl RefUnwindSafe for ArrayElement
impl Send for ArrayElement
impl Sync for ArrayElement
impl Unpin for ArrayElement
impl UnsafeUnpin for ArrayElement
impl UnwindSafe for ArrayElement
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