Implement FromStr and TryFrom for ParsedPath #14438
Labels
A-Assets
Load files from disk to use for things like images, models, and sounds
C-Usability
A targeted quality-of-life change that makes Bevy easier to use
D-Straightforward
Simple bug fixes and API improvements, docs, test and examples
S-Ready-For-Implementation
This issue is ready for an implementation PR. Go for it!
X-Uncontroversial
This work is generally agreed upon
What problem does this solve or what need does it fill?
ParsedPath
is parsed from strings and so can implementFromStr
and any of theTryFrom
string variants.This let users to use
.parse()
or library author to create functions usingTryInto<ParsedPath>
for ergonomic reasons.What solution would you like?
Implment any of:
FromStr
TryFrom<&str>
TryFrom<String>
What alternative(s) have you considered?
Use
ParsedPath::parse()
orParsedPath::parse_static()
directly.The text was updated successfully, but these errors were encountered: