pub fn from_document<'de, T: Deserialize<'de>>(
doc: &'de Document,
) -> Result<T, Error>Expand description
Deserialize from a pre-parsed SIF document.
Use this when you already have a parsed Document and want to avoid
re-parsing. The deserialized type may borrow from the document.