Module prelude

Source
Expand description

Frequently-used types that are available on all platforms

We need to reexport the core types so this works with rust-dep-of-std.

Modulesยง

fmt ๐Ÿ”’
Utilities for formatting and printing strings.
hash ๐Ÿ”’
Generic hashing support.
iter ๐Ÿ”’
Composable external iteration.
mem ๐Ÿ”’
Basic functions for dealing with memory.

Enumsยง

Option ๐Ÿ”’
The Option type. See the module level documentation for more.
c_void ๐Ÿ”’
Equivalent to Cโ€™s void type when used as a pointer.

Traitsยง

Clone ๐Ÿ”’
A common trait for the ability to explicitly duplicate an object.
Copy ๐Ÿ”’
Types whose values can be duplicated simply by copying bits.
Send ๐Ÿ”’
Types that can be transferred across thread boundaries.
Sync ๐Ÿ”’
Types for which it is safe to share references between threads.

Derive Macrosยง

Clone ๐Ÿ”’
Derive macro generating an impl of the trait Clone.
Copy ๐Ÿ”’
Derive macro generating an impl of the trait Copy.