docs.rs failed to build value_from_type_macros-1.0.3
Please check the build logs for more information.
See Builds for ideas on how to fix a failed build, or Metadata for how to configure docs.rs builds.
If you believe this is docs.rs' fault, open an issue.
Please check the build logs for more information.
See Builds for ideas on how to fix a failed build, or Metadata for how to configure docs.rs builds.
If you believe this is docs.rs' fault, open an issue.
Visit the last successful build:
value_from_type_macros-1.0.2
Value from Type -Macros
Procedural macro attribute to match structure types with an enum variant.
This macro can be applied on a module to make a connection between each defined struct and a newly created enum type. This enum is built into the same module as the macro is invocated upon. The macro will also implement value_from_type_traits::FromType on the enum for each struct (within the module) as generic argument.
Examples
extern crate value_from_type_macros;
extern crate value_from_type_traits;
// Attribute macro must be imported through a use statement.
use value_from_type;
// Implemented trait on `EnumName`
use IntoEnum;
// Explicit import for sake of example.
// Notice: EnumName::X IS the enum variant corresponding to the struct temp::X!
use ;
// use self::temp::*;