pub struct ArrayElement {
pub key: Option<Expr>,
pub value: Expr,
pub unpack: bool,
pub by_ref: bool,
pub span: Span,
}Fields§
§key: Option<Expr>§value: Expr§unpack: bool§by_ref: bool§span: SpanTrait Implementations§
Source§impl Clone for ArrayElement
impl Clone for ArrayElement
Source§fn clone(&self) -> ArrayElement
fn clone(&self) -> ArrayElement
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 ArrayElement
impl Debug for ArrayElement
Auto Trait Implementations§
impl Freeze 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