Module libc::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ยง

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.