pub enum Encoding {
Cp437,
Utf8,
Petscii,
C128,
Atascii,
Avatar,
Rip,
Viewdata,
Mode7,
Igs,
Skypix,
}Expand description
How incoming bytes are interpreted: the character set, and the emulations that go with it.
Variants§
Cp437
Utf8
Petscii
Commodore 64 (see crate::petscii).
C128
Commodore 128’s 80 columns (see crate::petscii).
Atascii
Atari 8-bit (see crate::atascii).
Avatar
CP437 with AVT/0+ codes as well as ANSI (see crate::avatar).
Rip
CP437 ANSI with RIPscrip graphics (see crate::rip).
Viewdata
Prestel viewdata (see crate::viewdata).
Mode7
The BBC Micro’s teletext screen, Mode 7 (see crate::viewdata).
Igs
Atari ST: VT-52 with IGS graphics (see crate::igs).
Skypix
Amiga: ANSI with SkyPix graphics (see crate::skypix).
Implementations§
Trait Implementations§
impl Copy for Encoding
Source§impl<'de> Deserialize<'de> for Encoding
impl<'de> Deserialize<'de> for Encoding
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for Encoding
impl StructuralPartialEq for Encoding
Auto Trait Implementations§
impl Freeze for Encoding
impl RefUnwindSafe for Encoding
impl Send for Encoding
impl Sync for Encoding
impl Unpin for Encoding
impl UnsafeUnpin 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
Source§impl<T, Ctx> BundleDefault<Ctx> for Twhere
T: Default,
impl<T, Ctx> BundleDefault<Ctx> for Twhere
T: Default,
Source§fn default_with_context(_: Ctx) -> T
fn default_with_context(_: Ctx) -> T
Creates a default value with the given context.