Crate elfo_utils

source ·
Expand description

A collection of utilities to share among elfo-* crates.

Modules§

Macros§

  • A simple macro to check if a cooldown period has passed since the last time.
  • Returns the contents of a Option<T>’s Some(T), otherwise it returns early from the function. Can alternatively have an else branch, or an alternative “early return” statement, like break or continue for loops.

Structs§

Enums§

Functions§

  • Hints the compiler that this branch is likely to be taken.
  • Hints the compiler that this branch is unlikely to be taken.