Function toml_edit::de::from_document
source · pub fn from_document<T>(d: impl Into<Deserializer>) -> Result<T, Error>where
T: DeserializeOwned,
Expand description
Convert a DocumentMut
into T
.
pub fn from_document<T>(d: impl Into<Deserializer>) -> Result<T, Error>where
T: DeserializeOwned,
Convert a DocumentMut
into T
.