[][src]Struct winconsole::console::CodePageInfo

pub struct CodePageInfo {
    pub max_char_size: u8,
    pub default: String,
    pub lead_byte: [u8; 12],
    pub unicode_default: String,
    pub code_page: CodePage,
    pub name: String,
}

Information about a code page.

Fields

max_char_size: u8

The maximum length, in bytes, of a character in the code page.

default: String

The default character used when translating to the code page.

lead_byte: [u8; 12]

An array of lead byte ranges.

unicode_default: String

The default unicode character used when translating to the code page.

code_page: CodePage

The code page associated with the information.

name: String

The full name of the code page.

Trait Implementations

impl PartialEq<CodePageInfo> for CodePageInfo[src]

impl Clone for CodePageInfo[src]

fn clone_from(&mut self, source: &Self)1.0.0[src]

Performs copy-assignment from source. Read more

impl Default for CodePageInfo[src]

fn default() -> Self[src]

Returns an empty CodePageInfo object.

impl Debug for CodePageInfo[src]

impl Serialize for CodePageInfo[src]

impl<'de> Deserialize<'de> for CodePageInfo[src]

Auto Trait Implementations

impl Send for CodePageInfo

impl Sync for CodePageInfo

Blanket Implementations

impl<T> From<T> for T[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: Deserialize<'de>, 
[src]