[−][src]Trait cssparser::EncodingSupport
Abstraction for avoiding a dependency from cssparser to an encoding library
Associated Types
type Encoding
One character encoding
Required methods
fn from_label(ascii_label: &[u8]) -> Option<Self::Encoding>
https://encoding.spec.whatwg.org/#concept-encoding-get
fn utf8() -> Self::Encoding
Return the UTF-8 encoding
fn is_utf16_be_or_le(encoding: &Self::Encoding) -> bool
Whether the given encoding is UTF-16BE or UTF-16LE