Re-exports§
pub use self::core::Core;
pub use self::forward_attrs::AttrsField;
pub use self::forward_attrs::ForwardAttrsFilter;
pub use self::from_attributes::FromAttributesOptions;
pub use self::from_derive::FdiOptions;
pub use self::from_field::FromFieldOptions;
pub use self::from_meta::FromMetaOptions;
pub use self::from_type_param::FromTypeParamOptions;
pub use self::from_variant::FromVariantOptions;
pub use self::input_field::InputField;
pub use self::input_variant::InputVariant;
pub use self::outer_from::OuterFrom;
pub use self::shape::DataShape;
pub use self::shape::DeriveInputShapeSet;
Modules§
- core 🔒
- shape 🔒Types for “shape” validation. This allows types deriving
FromDeriveInput
etc. to declare that they only work on - for example - structs with named fields, or newtype enum variants.
Enums§
- A default/fallback expression encountered in attributes during parsing.
Traits§
- Middleware for extracting attribute values. Implementers are expected to override
parse_nested
so they can apply individual items to themselves, whileparse_attributes
is responsible for looping through distinct outer attributes and collecting errors. - Middleware for extracting values from the body of the derive input. Implementers are expected to override
parse_field
orparse_variant
as appropriate for their use-case, whileparse_body
dispatches to the appropriate methods and handles error collection.