Enum dae_parser::Url [−][src]
Expand description
A (really) basic URL parser.
It is optimized for the case of COLLADA documents where most “URLs”
are really just names of other entities in the document, prefixed by #.
Unfortunately the url crate does not like these fragments,
and we don’t have a base URL to work from since the parser does not do URL resolution.
So we parse fragments and leave everything else to be parsed by a proper URL crate
during resolution.
Variants
Fragment(String)A fragment #foo. The string is the percent-decoded payload "foo".
Tuple Fields of Fragment
0: StringOther(String)A maybe-URL which is not a fragment. These are unparsed and unvalidated.
Tuple Fields of Other
0: StringTrait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Url
impl UnwindSafe for Url
Blanket Implementations
Mutably borrows from an owned value. Read more