Crate tetcore_std[][src]

Expand description

Lowest-abstraction level for the Tetcore runtime: just exports useful primitives from std or client/alloc to be used with any code that depends on the runtime. Tetcore runtime standard library as compiled when linked with Rust’s standard library.

Modules

alloc

Memory allocation APIs.

any

This module implements the Any trait, which enables dynamic typing of any 'static type through runtime reflection.

borrow

A module for working with borrowed data.

boxed

A pointer type for heap allocation.

cell

Shareable mutable containers.

clone

The Clone trait for types that cannot be ‘implicitly copied’.

cmp

Functionality for ordering and comparison.

collections
convert

Traits for conversions between types.

default

The Default trait for types which may have meaningful default values.

fmt

Utilities for formatting and printing Strings.

hash

Generic hashing support.

iter

Composable external iteration.

marker

Primitive traits and types representing basic properties of types.

mem

Basic functions for dealing with memory.

num

Additional functionality for numerics.

ops

Overloadable operators.

prelude

Prelude of common useful imports.

ptr

Manually manage memory through raw pointers.

rc

Single-threaded reference-counting pointers. ‘Rc’ stands for ‘Reference Counted’.

result

Error handling with the Result type.

slice

A dynamically-sized view into a contiguous sequence, [T].

str

Unicode string slices.

sync

Useful synchronization primitives.

thread
vec

A contiguous growable array type with heap-allocated contents, written Vec<T>.

Macros

if_std

Feature gate some code that should only be run when std feature is enabled.

map
vec

Creates a Vec containing the arguments.

Structs

Writer

A target for core::write! macro - constructs a string in memory.