pub enum Encoding {
ANSI,
OEM,
}
Expand description
Text convertation encoding.
Variants§
ANSI
Use CP_ACP codepage on Windows and UTF-8 on other systems.
OEM
Use CP_OEM codepage on Windows and UTF-8 on other systems.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Encoding
impl RefUnwindSafe for Encoding
impl Send for Encoding
impl Sync for Encoding
impl Unpin for Encoding
impl UnwindSafe for Encoding
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