Static encoding_rs::GBK_INIT [] [src]

pub static GBK_INIT: Encoding = Encoding{name: "GBK", variant: VariantEncoding::Gbk,}

The initializer for the GBK 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.