devela::code

Module marker

Source
Expand description

Marker types, traits and macros.

Extends: std::{marker}


Macros§

  • Defines zero-cost, zero-sized, generic marker IDs.
  • Defines zero-cost, zero-sized, type-safe resource IDs.

Structs§

  • core Zero-sized type used to mark things that “act like” they own a T.
  • core A marker type which does not implement Unpin.
  • A newtype-based ID that associates a resource with its inner ID.

Traits§

  • core Types whose values can be duplicated simply by copying bits.
  • core Types that can be transferred across thread boundaries.
  • core Types with a constant size known at compile time.
  • core Types for which it is safe to share references between threads.
  • Represents an association between a resource and its inner data type.
  • core Types that do not require any pinning guarantees.

Derive Macros§

  • core Derive macro generating an impl of the trait Copy.