Available on crate feature
resolve-path only.Expand description
Traits for resolving paths in a directory structure.
HasField is automatically derived by the #[derive(HasField)] macro.
Macros§
- load_
path derive - resolve_
path derive - A macro to resolve a path to a specific field in a directory structure.
Traits§
- Dynamic
HasField - A trait to declare that a type has fields with dynamic names,
such as
DirChildren,DirDescendants, etc. - Dynamic
HasField Maybe Newtype DynamicHasFieldfor types that may or may not have a newtype wrapper around their field type.- Dynamic
HasField NoNewtype DynamicHasFieldfor types that do not have a newtype wrapper around their field type.- HasField
- A trait to declare that a type has a field with a specific name,
and the type of the field is
HasField::Inner. - HasField
Maybe Newtype - A trait for types that may or may not have a newtype wrapper around their field type for reading / writing.
- HasField
NoNewtype - A trait to declare that a type has a field with a specific name, and it’s not wrapped in a newtype.