Skip to main content

Module prelude

Module prelude 

Source
Expand description

This prelude is intended to be used instead of the prelude from std.

Macros§

eprintln
Prints to the standard error, with a newline.

Structs§

Box
A pointer type that uniquely owns a heap allocation of type T.
String
A UTF-8–encoded, growable string.
Vec
A contiguous growable array type, written as Vec<T>, short for ‘vector’.

Traits§

ToOwned
A generalization of Clone to borrowed data.
ToString
A trait for converting a value to a String.
⚠️ Internal Docs ⚠️ Not Public API 👉 Official Docs Here