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