pub struct ArrayItem<'ast> {
pub key: Option<ExprId<'ast>>,
pub value: ExprId<'ast>,
pub by_ref: bool,
pub unpack: bool,
pub span: Span,
}Fields§
§key: Option<ExprId<'ast>>§value: ExprId<'ast>§by_ref: bool§unpack: bool§span: SpanTrait Implementations§
impl<'ast> Copy for ArrayItem<'ast>
Auto Trait Implementations§
impl<'ast> Freeze for ArrayItem<'ast>
impl<'ast> RefUnwindSafe for ArrayItem<'ast>
impl<'ast> Send for ArrayItem<'ast>
impl<'ast> Sync for ArrayItem<'ast>
impl<'ast> Unpin for ArrayItem<'ast>
impl<'ast> UnwindSafe for ArrayItem<'ast>
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