Enum encoding_rs::variant::VariantEncoding
source · pub enum VariantEncoding {
}
Variants§
SingleByte(&'static [u16; 128], u16, u8, u8)
Utf8
Gbk
Gb18030
Big5
EucJp
Iso2022Jp
ShiftJis
EucKr
Replacement
Utf16Be
Utf16Le
UserDefined
Implementations§
source§impl VariantEncoding
impl VariantEncoding
pub fn new_variant_decoder(&self) -> VariantDecoder
pub fn new_encoder(&self, encoding: &'static Encoding) -> Encoder
pub fn is_single_byte(&self) -> bool
Auto Trait Implementations§
impl Freeze for VariantEncoding
impl RefUnwindSafe for VariantEncoding
impl Send for VariantEncoding
impl Sync for VariantEncoding
impl Unpin for VariantEncoding
impl UnwindSafe for VariantEncoding
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more