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