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 that allows explicit creation of a duplicate value.
- 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.
Functionsยง
- align_
of ๐ - Returns the ABI-required minimum alignment of a type in bytes.
- align_
of_ ๐val - Returns the ABI-required minimum alignment of the type of the value that
val
points to in bytes. - size_of ๐
- Returns the size of a type in bytes.
- size_
of_ ๐val - Returns the size of the pointed-to value in bytes.