Module lightning_signer::prelude
source · Expand description
std / no_std compat
Modules
- A contiguous growable array type with heap-allocated contents, written
Vec<T>
.
Macros
- Creates a
Vec
containing the arguments.
Structs
- A pointer type that uniquely owns a heap allocation of type
T
. - A hash map implemented with quadratic probing and SIMD lookup.
- A mutual exclusion primitive useful for protecting shared data
- An RAII implementation of a “scoped lock” of a mutex. When this structure is dropped (falls out of scope), the lock will be unlocked.
- An ordered map based on a B-Tree.
- An ordered set based on a B-Tree.
- A UTF-8–encoded, growable string.
- A hash set implemented as a
HashMap
where the value is()
. - A contiguous growable array type, written as
Vec<T>
, short for ‘vector’.
Traits
- Convenience trait for Send + Sync
- A generalization of
Clone
to borrowed data. - A trait for converting a value to a
String
.