pub struct NewExpr<'a> {
pub span: SourceSpan,
pub package: PackageName<'a>,
pub arguments: Vec<InstantiationArgument<'a>>,
}
Expand description
Represents a new expression in the AST.
Fields§
§span: SourceSpan
The span of the new expression.
package: PackageName<'a>
The package name in the expression.
arguments: Vec<InstantiationArgument<'a>>
The instantiation arguments in the expression.
Trait Implementations§
Auto Trait Implementations§
impl<'a> Freeze for NewExpr<'a>
impl<'a> RefUnwindSafe for NewExpr<'a>
impl<'a> Send for NewExpr<'a>
impl<'a> Sync for NewExpr<'a>
impl<'a> Unpin for NewExpr<'a>
impl<'a> UnwindSafe for NewExpr<'a>
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