Module linguist::serde

source ·

Functions

  • Deserialize a YAML file into a vector of languages. This supports the deserialization of custom language definition types by taking a generic type parameter. The generic type must implement the TryInto<Language> and the serde::Deserialize trait. Furthermore, the path to the YAML file must be provided.
  • Deserialize a YAML file into a vector of strings.