• Home
  • Raw
  • Download

Lines Matching refs:Url

166 pub struct Url {  struct
193 base_url: Option<&'a Url>, argument
200 pub fn base_url(mut self, new: Option<&'a Url>) -> Self { in base_url()
240 pub fn parse(self, input: &str) -> Result<Url, crate::ParseError> { in parse() argument
252 impl Url { impl
275 pub fn parse(input: &str) -> Result<Url, crate::ParseError> { in parse() argument
276 Url::options().parse(input) in parse()
305 pub fn parse_with_params<I, K, V>(input: &str, iter: I) -> Result<Url, crate::ParseError> in parse_with_params() argument
312 let mut url = Url::options().parse(input); in parse_with_params()
356 pub fn join(&self, input: &str) -> Result<Url, crate::ParseError> { in join() argument
357 Url::options().base_url(Some(self)).parse(input) in join()
401 pub fn make_relative(&self, url: &Url) -> Option<String> { in make_relative()
670 let other = Url::parse(self.as_str()).expect("Failed to parse myself?"); in check_invariants()
2303 pub fn from_file_path<P: AsRef<Path>>(path: P) -> Result<Url, ()> { in from_file_path() argument
2307 Ok(Url { in from_file_path()
2340 pub fn from_directory_path<P: AsRef<Path>>(path: P) -> Result<Url, ()> { in from_directory_path() argument
2341 let mut url = Url::from_file_path(path)?; in from_directory_path()
2363 let Url { in serialize_internal() localVariable
2415 let url = Url { in deserialize_internal()
2489 impl str::FromStr for Url { implementation
2493 fn from_str(input: &str) -> Result<Url, crate::ParseError> { in from_str() argument
2494 Url::parse(input) in from_str()
2498 impl<'a> TryFrom<&'a str> for Url { implementation
2502 Url::parse(s) in try_from()
2507 impl fmt::Display for Url { implementation
2515 impl From<Url> for String {
2516 fn from(value: Url) -> String { in from()
2522 impl fmt::Debug for Url { implementation
2541 impl Eq for Url {} implementation
2544 impl PartialEq for Url { implementation
2552 impl Ord for Url { implementation
2560 impl PartialOrd for Url { implementation
2568 impl hash::Hash for Url { implementation
2579 impl AsRef<str> for Url { implementation
2615 impl serde::Serialize for Url { implementation
2628 impl<'de> serde::Deserialize<'de> for Url { implementation
2629 fn deserialize<D>(deserializer: D) -> Result<Url, D::Error> in deserialize() argument
2638 type Value = Url; in deserialize()
2648 Url::parse(s).map_err(|err| { in deserialize()
2855 url: Option<&'a mut Url>,
2874 fn finish(mut self) -> &'a mut Url { in finish() argument
2880 type Finished = &'a mut Url;