Searched refs:ascii_set (Results 1 – 1 of 1) sorted by relevance
216 pub fn percent_encode<'a>(input: &'a [u8], ascii_set: &'static AsciiSet) -> PercentEncode<'a> { in percent_encode()219 ascii_set, in percent_encode()235 pub fn utf8_percent_encode<'a>(input: &'a str, ascii_set: &'static AsciiSet) -> PercentEncode<'a> { in utf8_percent_encode()236 percent_encode(input.as_bytes(), ascii_set) in utf8_percent_encode()243 ascii_set: &'static AsciiSet, field251 if self.ascii_set.should_percent_encode(first_byte) { in next()256 if self.ascii_set.should_percent_encode(byte) { in next()