Crate rune_alloc

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

Visit the site 🌐Read the book 📖

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

Re-exports§

pub use self::error::Error;
pub use self::boxed::Box;
pub use self::hashbrown::map as hash_map;
pub use self::hashbrown::set as hash_set;
pub use self::vec::Vec;
pub use self::vec_deque::VecDeque;
pub use self::string::String;

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.
callable
A trait used for types which can be called.
clone
The TryClone trait for types that cannot be ‘implicitly copied’.
error
Error types used by rune alloc.
fmt
Built-in formatting utilities.
hashbrown
This is a fork of the hashbrown crate.
iter
Composable external iteration.
limit
Memory limits for Rune.
path
Cross-platform path manipulation.
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.
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.
HashMap
A hash map implemented with quadratic probing and SIMD lookup.
HashSet
A hash set implemented as a HashMap where the value is ().

Functions§

abort
Terminates the process in an abnormal fashion.

Type Aliases§

Result
A Result aliased specialized towards an allocation Error.