pub trait FromStringObject: ToStringObject + Sized {
// Required method
fn from_string_object(
stringified: &<Self as ToStringObject>::StringObject,
) -> Result<Self, TextParseError>;
}Expand description
Stringify a document
Required Methods§
Sourcefn from_string_object(
stringified: &<Self as ToStringObject>::StringObject,
) -> Result<Self, TextParseError>
fn from_string_object( stringified: &<Self as ToStringObject>::StringObject, ) -> Result<Self, TextParseError>
Transforms object fields into string
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.