Crate rust_assembler

source ·

Modules

Macros

  • Returns a bool saying whether the given string contains the specified pattern, expressed as an array of &str. Avoids all heap allocations.
  • Returns a bool saying whether the given string contains the specified pattern, expressed as an array of &str. Avoids all heap allocations.
  • Returns a bool saying whether the given string contains the specified pattern, expressed as an array of integers slices (e.g. [&[20, 30], &[44, 65]]). Avoids all heap allocations.
  • Returns a bool saying whether the given string contains the specified pattern, expressed as an array of &str. Avoids all heap allocations.
  • Replaces multiple str at once, avoiding intermediate allocations. It returns a new String containing the result. Values passed by value keep ownership.
  • Replaces multiple str at once, avoiding intermediate allocations. It returns a new String containing the result. Values passed by value keep ownership.
  • Converts a positive integer to its str value, expressed either as &str or [u8, n], where n is the number of desired digits (max 5). No heap allocations are implied.