Static encoding_rs::UTF_8_INIT [] [src]

pub static UTF_8_INIT: Encoding = Encoding{name: "UTF-8", variant: VariantEncoding::Utf8,}

The initializer for the UTF-8 encoding.

For use only for taking the address of this form when Rust prohibits the use of the non-_INIT form directly, such as in initializers of other statics. If in doubt, use the corresponding non-_INIT reference-typed static.

This part of the public API will go away if Rust changes to make the referent of pub const FOO: &'static Encoding unique cross-crate or if Rust starts allowing static arrays to be initialized with pub static FOO: &'static Encoding items.