Expand description

§Module :: derive_tools_meta

experimentalrust-statusdocs.rsOpen in Gitpod discord

Collection of derives which extend STD. Its meta module.

Don’t use it directly. Instead use derive_tools which is front-end for derive_tools_meta.

Derive Macros§

  • Derive macro to implement AsMut when-ever it’s possible to do automatically.
  • Derive macro to implement AsRef when-ever it’s possible to do automatically.
  • Derive macro to implement Deref when-ever it’s possible to do automatically.
  • Derive macro to implement Deref when-ever it’s possible to do automatically.
  • Provides an automatic From implementation for struct wrapping a single value.
  • Alias for derive From. Provides an automatic From implementation for struct wrapping a single value.
  • Derive macro to implement From converting outer type into inner when-ever it’s possible to do automatically.
  • Derive macro to implement default constructors From_0, From_1, From_2, From_3.