Docs.rs
  • cairo-lang-utils-2.11.1
    • cairo-lang-utils 2.11.1
    • Docs.rs crate page
    • Links
    • Repository
    • crates.io
    • Source
    • Owners
    • gilbens-starkware
    • orizi
    • Dependencies
      • env_logger ^0.11.6 normal optional
      • hashbrown ^0.15.2 normal
      • indexmap ^2.7.1 normal
      • itertools ^0.14.0 normal
      • log ^0.4.25 normal optional
      • num-bigint ^0.4.6 normal
      • num-traits ^0.2.19 normal
      • parity-scale-codec ^3.7.4 normal optional
      • schemars ^0.8.21 normal optional
      • serde ^1.0.217 normal optional
      • time ^0.3.37 normal optional
      • env_logger ^0.11.6 dev
      • serde_json ^1.0.138 dev
      • test-case ^3.3.1 dev
      • test-log ^0.2.17 dev
    • Versions
    • 71.67% of the crate is documented
  • Go to latest version
  • Platform
    • i686-pc-windows-msvc
    • i686-unknown-linux-gnu
    • x86_64-apple-darwin
    • x86_64-pc-windows-msvc
    • x86_64-unknown-linux-gnu
  • Feature flags
  • docs.rs
    • About docs.rs
    • Privacy policy
  • Rust
    • Rust website
    • The Book
    • Standard Library API Reference
    • Rust by Example
    • The Cargo Guide
    • Clippy Documentation

Crate cairo_lang_utils

cairo_lang_utils2.11.1

  • All Items

Crate Items

  • Modules
  • Macros
  • Traits
  • Functions

Crates

  • cairo_lang_utils

Crate cairo_lang_utils

Settings
Help
Source
Expand description

Cairo utilities.

Modules§

bigint
byte_array
casts
collection_arithmetics
extract_matches
graph_algos
iterators
ordered_hash_map
ordered_hash_set
unordered_hash_map
unordered_hash_set

Macros§

define_short_id
extract_matches
Macro to verify an expression matches a pattern and extract its fields.
try_extract_matches
Macro to try to evaluate an expression as a pattern and extract its fields.

Traits§

Intern
LookupIntern
A trait for the lookup_intern method for short IDs (returning the long ID).
OptionFrom
Similar to From / TryFrom, but returns an option.
OptionHelper
Helper operations on Option<T>.
Upcast
UpcastMut

Functions§

borrow_as_box
Borrows a mutable reference as Box for the lifespan of this function.
require
Returns Some(()) if the condition is true, otherwise None.
write_comma_separated

Loading search results...