Crate rune_alloc

Crate rune_alloc 

Source
Expand description
rune logo
github crates.io docs.rs chat on discord
Minimum support: Rust 1.92+.

Visit the site 🌐Read the book 📖

The Rune Language, an embeddable dynamic programming language for Rust.

Re-exports§

pub use self::error::Error;

Modules§

alloc
Allocated types.
borrow
A module for working with borrowed data.
boxed
The Box<T> type for heap allocation.
btree_map
An ordered map based on a B-Tree.
btree_set
An ordered set based on a B-Tree.
clone
The TryClone trait for types that cannot be ‘implicitly copied’.
error
Error types used by rune alloc.
fmt
Built-in formatting utilities.
hash_map
hash_set
iter
Composable external iteration.
limit
Memory limits for Rune.
prelude
Prelude for common traits used in combination with this crate which matches the behavior of the std prelude.
str
Utilities for the str primitive type.
string
A UTF-8–encoded, growable string.
sync
vec
A contiguous growable array type with heap-allocated contents, written Vec<T>.
vec_deque
A double-ended queue (deque) implemented with a growable ring buffer.

Macros§

try_format
Creates a String using interpolation of runtime expressions.
try_vec

Structs§

BTreeMap
An ordered map based on a B-Tree.
BTreeSet
An ordered set based on a B-Tree.
Box
A pointer type that uniquely owns a heap allocation of type T.
HashMap
A hash map implemented with quadratic probing and SIMD lookup.
HashSet
A hash set implemented as a HashMap where the value is ().
String
A UTF-8–encoded, growable string.
Vec
A contiguous growable array type, written as Vec<T>, short for ‘vector’.
VecDeque
A double-ended queue implemented with a growable ring buffer.

Functions§

abortstd
Terminates the process in an abnormal fashion.

Type Aliases§

Result
A Result aliased specialized towards an allocation Error.