Docs.rs
  • cairo-lang-utils-2.10.0-rc.0
    • cairo-lang-utils 2.10.0-rc.0
    • Docs.rs crate page
    • Links
    • Repository
    • crates.io
    • Source
    • Owners
    • gilbens-starkware
    • orizi
    • Dependencies
      • env_logger ^0.11.3 normal optional
      • hashbrown ^0.14.5 normal
      • indexmap ^2.2.6 normal
      • itertools ^0.12.1 normal
      • log ^0.4.21 normal optional
      • num-bigint ^0.4.5 normal
      • num-traits ^0.2.19 normal
      • parity-scale-codec ^3.6.9 normal optional
      • schemars ^0.8.19 normal optional
      • serde ^1.0.200 normal optional
      • time ^0.3.36 normal optional
      • env_logger ^0.11.3 dev
      • serde_json ^1.0.116 dev
      • test-case ^3.3.1 dev
      • test-log ^0.2.16 dev
    • Versions
    • 71.67% of the crate is documented
  • Go to latest stable release
  • 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
  • Rust
    • About docs.rs
    • Privacy policy
    • Rust website
    • The Book
    • Standard Library API Reference
    • Rust by Example
    • The Cargo Guide
    • Clippy Documentation

Crate cairo_lang_utils

cairo_lang_utils2.10.0-rc.0

  • 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...