Skip to main content

parse_ext_ref

Function parse_ext_ref 

Source
pub fn parse_ext_ref(raw: &str) -> Result<ExtRef>
Expand description

Parse an ext://<id>#component reference.

Returns an error if the ref is malformed (wrong scheme, missing #component fragment, or empty id).