Function wavefront_obj::mtl::parse [] [src]

pub fn parse(input: String) -> Result<MtlSetParseError>

Parses a wavefront .mtl file, returning either the successfully parsed file, or an error. Support in this parser for the full file format is best-effort and realistically I will only end up supporting the subset of the file format which falls under the "shit I see exported from blender" category.