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
- Lookup
Intern - A trait for the
lookup_intern
method for short IDs (returning the long ID). - Option
From - Similar to From / TryFrom, but returns an option.
- Option
Helper - Helper operations on
Option<T>
. - Upcast
- Upcast
Mut
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