1. Only showing results from lib.rs

    Clear filter to show all search results

  2. Dec 7, 2024Perform side effects and modify objects in a more concise and readable way. Available functions: using - use a value in an expression without creating a new variable (returns a new value) also - perform a side effect using a value without modifying it (returns the same value) apply - modify a value before returning it (returns the same value)
  3. Feb 25, 2023One caveat: If your iterator has side effects (for example, sending methods to other threads through a Rust channel or writing to disk), those side effects may occur in a different order. Note also that, in some cases, parallel iterators offer alternative versions of the sequential iterator methods that can have higher performance.
  4. 3 days agoExecute side-effects/IO. Dispatch other actions, which can be handled by pure or effectful models. Restrictions: An effectful model has no method to access the state of the state machine. Its ability to communicate with the state machine is only through dispatching pure actions (actions associated with a pure model). Dispatcher Object
  5. 5 days agoEffects: side effects that synchronize the reactive system with the non-reactive world outside it. Signals and computations are "source" nodes in the reactive graph, because an observer can subscribe to them to respond to changes in their values. Effects and computations are "subscriber" nodes, because they can listen to changes in other values.
  6. Apr 3, 2024One caveat: If your iterator has side effects (for example, sending methods to other threads through a Rust channel or writing to disk), those side effects may occur in a different order. Note also that, in some cases, parallel iterators offer alternative versions of the sequential iterator methods that can have higher performance.
  7. Mar 24, 2024One caveat: If your iterator has side effects (for example, sending methods to other threads through a Rust channel or writing to disk), those side effects may occur in a different order. Note also that, in some cases, parallel iterators offer alternative versions of the sequential iterator methods that can have higher performance.
  8. Feb 4, 2025Testability: Pure functions are easier to test in isolation since they have no hidden state or side effects. Parallelism: Independent components can be executed concurrently without race conditions, enabling efficient parallel computation. Composability: Systems can be built hierarchically, with composed components acting just like basic ...
  9. 4 days agobevy_behave is a behaviour tree plugin for bevy with a sensible API and minimal overheads. No magic is required for the task components, they are are regular bevy components using triggers to report status. When an action (aka leaf node, task node) in the behaviour tree runs, it will spawn an entity with the components you specified in the tree definition.
  10. Jan 28, 2025(As a side effect this will make your Cargo.lock significantly larger if you are not already using wasm-bindgen, but otherwise enabling this feature is harmless.) Set RUSTFLAGS='--cfg getrandom_backend="wasm_js"' . This backend supports both web browsers (main window and Web Workers) and Node.js (v19 or later) environments. ...
  11. Nov 24, 2024If BoltBuild determines that the script does not need to be executed, it will instead load all side effects from the cache. This allows for fast incremental builds. But the priority is on correctness, so BoltBuild will verify that the environment is entirely identical before loading from the cache. In particular, a command will be rerun if any ...
  12. Can’t find what you’re looking for?

    Help us improve DuckDuckGo searches with your feedback

Custom date rangeX