Expand description
Cairo utilities.
Re-exports§
pub use ::smol_str;
Modules§
- bigint
- byte_
array - casts
- collection_
arithmetics - deque
- extract_
matches - graph_
algos - iterators
- logging
- ordered_
hash_ map - ordered_
hash_ set - small_
ordered_ map - unordered_
hash_ map - unordered_
hash_ set
Macros§
- define_
short_ id - TODO(eytan-starkware): Remove this macro entirely and rely on
salsa::interned. - 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
- Option
From - Similar to From / TryFrom, but returns an option.
- Option
Helper - Helper operations on
Option<T>.
Functions§
- borrow_
as_ box - Borrows a mutable reference as Box for the lifespan of this function.
- require
- Returns
Some(())if the condition is true, otherwiseNone. - write_
comma_ separated