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)
Tuple Fields
0: String
A fragment #foo
. The string is the percent-decoded payload "foo"
.
Other(String)
Tuple Fields
0: String
A maybe-URL which is not a fragment. These are unparsed and unvalidated.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Url
impl UnwindSafe for Url
Blanket Implementations
Mutably borrows from an owned value. Read more