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 ๐
- forward_
attrs ๐ - from_
attributes ๐ - from_
derive ๐ - from_
field ๐ - from_
meta ๐ - from_
type_ ๐param - from_
variant ๐ - input_
field ๐ - input_
variant ๐ - outer_
from ๐ - 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.
Functionsยง
- parse_
attr ๐