pub struct Spread {
pub token: Token,
pub expr: Box<Expr>,
}Expand description
Spread operator for variadic arguments.
The spread operator is used to pass an array as separate arguments to a function.
Fields§
§token: Token§expr: Box<Expr>Trait Implementations§
impl StructuralPartialEq for Spread
Auto Trait Implementations§
impl Freeze for Spread
impl RefUnwindSafe for Spread
impl Send for Spread
impl Sync for Spread
impl Unpin for Spread
impl UnwindSafe for Spread
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