Module kernel::types

source ·
Expand description

Kernel types.

Structs§

  • An owned reference to an always-reference-counted object.
  • Stores an opaque value.
  • Runs a cleanup function/closure when dropped.

Enums§

  • A sum type that always holds either a value of type L or R.

Traits§

  • Types that are always reference counted.
  • Types that can be viewed as an immutable slice of initialized bytes.
  • Used to transfer ownership to and from foreign (non-Rust) languages.
  • Types for which any bit pattern is valid.