Struct percent_encoding::AsciiSet [−][src]
pub struct AsciiSet { /* fields omitted */ }Represents a set of characters or bytes in the ASCII range.
This used in percent_encode and utf8_percent_encode.
This is simlar to percent-encode sets.
Use the add method of an existing set to define a new set. For example:
use percent_encoding::{AsciiSet, CONTROLS}; /// https://url.spec.whatwg.org/#fragment-percent-encode-set const FRAGMENT: &AsciiSet = &CONTROLS.add(b' ').add(b'"').add(b'<').add(b'>').add(b'`');
Implementations
impl AsciiSet[src]
impl AsciiSet[src]