[][src]Module figment::value::magic

This is supported on crate feature magic only.

(De)serializable values that "magically" use information from the extracing Figment.

Structs

RelativePathBufmagic

A PathBuf that knows the path of the file it was configured in, if any.

Taggedmagic

A wrapper around any value of type T and the metadata Id of the provider that sourced the value.

Enums

Eithermagic

(De)serializes as either a magic value A or any other deserializable value B.

Traits

Magicmagic

Marker trait for "magic" values. Primarily for use with Either.