pub struct MapOperation {
pub source_promise: PromiseId,
pub map_function: ILExpression,
pub result_promise: PromiseId,
}
Expand description
MapOperation represents a .map() call on a promise
Fields§
§source_promise: PromiseId
The promise we’re mapping over
map_function: ILExpression
The IL expression to apply to each element
result_promise: PromiseId
The resulting promise ID
Trait Implementations§
Source§impl Clone for MapOperation
impl Clone for MapOperation
Source§fn clone(&self) -> MapOperation
fn clone(&self) -> MapOperation
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreAuto Trait Implementations§
impl Freeze for MapOperation
impl RefUnwindSafe for MapOperation
impl Send for MapOperation
impl Sync for MapOperation
impl Unpin for MapOperation
impl UnwindSafe for MapOperation
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