Crate rune_alloc

source ·
Expand description
rune logo
github crates.io docs.rs chat on discord
Minimum support: Rust 1.74+.

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§

  • Allocated types.
  • A module for working with borrowed data.
  • The Box<T> type for heap allocation.
  • An ordered map based on a B-Tree.
  • An ordered set based on a B-Tree.
  • A trait used for types which can be called.
  • The TryClone trait for types that cannot be ‘implicitly copied’.
  • Error types used by rune alloc.
  • Built-in formatting utilities.
  • This is a fork of the hashbrown crate.
  • Composable external iteration.
  • Memory limits for Rune.
  • Cross-platform path manipulation.
  • Prelude for common traits used in combination with this crate which matches the behavior of the std prelude.
  • Utilities for the str primitive type.
  • A UTF-8–encoded, growable string.
  • A contiguous growable array type with heap-allocated contents, written Vec<T>.
  • A double-ended queue (deque) implemented with a growable ring buffer.

Macros§

Structs§

  • An ordered map based on a B-Tree.
  • An ordered set based on a B-Tree.
  • A hash map implemented with quadratic probing and SIMD lookup.
  • A hash set implemented as a HashMap where the value is ().

Functions§

  • Terminates the process in an abnormal fashion.

Type Aliases§

  • A Result aliased specialized towards an allocation Error.