pub struct Spread { /* private fields */ }Expand description
The spread operator allows an iterable such as an array expression or string to be
expanded.
Syntax: ...x
It expands array expressions or strings in places where zero or more arguments (for function calls) or elements (for array literals) are expected, or an object expression to be expanded in places where zero or more key-value pairs (for object literals) are expected.
More information:
Implementations§
Trait Implementations§
Source§impl Executable for Spread
impl Executable for Spread
Source§impl Trace for Spread
impl Trace for Spread
Source§fn finalize_glue(&self)
fn finalize_glue(&self)
Runs Finalize::finalize() on this object and all
contained subobjects
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