Struct winsafe::co::CP[][src]

#[repr(transparent)]
pub struct CP(_);
Expand description

WideCharToMultiByte and MultiByteToWideChar code_page identifiers (u16).

Originally these functions receive an u32 parameter, but these are in fact u16 constants.

Implementations

Tells whether other bitflag style is present. Equivalent to (val & other) != 0.

This method is common to all constant types.

The system default Windows ANSI code page.

The current system OEM code page.

The current system Macintosh code page.

The Windows ANSI code page for the current thread.

Symbol code page (42).

Unicode UTF-16, little endian byte order (BMP of ISO 10646); available only to managed applications.

Unicode UTF-16, big endian byte order; available only to managed applications.

ANSI Central European; Central European (Windows).

ANSI Cyrillic; Cyrillic (Windows).

ANSI Latin 1; Western European (Windows).

ANSI Greek; Greek (Windows).

ANSI Turkish; Turkish (Windows).

ANSI Hebrew; Hebrew (Windows).

ANSI Arabic; Arabic (Windows).

ANSI Baltic; Baltic (Windows).

ANSI/OEM Vietnamese; Vietnamese (Windows).

Korean (Johab).

MAC Roman; Western European (Mac).

Unicode (UTF-7).

Conversion functions: use this value only when forced by a 7-bit transport mechanism. Use of UTF-8 is preferred. With this value set, lpDefaultChar and lpUsedDefaultChar must be set to null.

Unicode (UTF-8).

Conversion functions: with this value set, lpDefaultChar and lpUsedDefaultChar must be set to null.

Trait Implementations

Formats the value using the given formatter.

The resulting type after applying the & operator.

Performs the & operation. Read more

Performs the &= operation. Read more

The resulting type after applying the | operator.

Performs the | operation. Read more

Performs the |= operation. Read more

The resulting type after applying the ^ operator.

Performs the ^ operation. Read more

Performs the ^= operation. Read more

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

Returns the “default value” for a type. Read more

Formats the value using the given formatter. Read more

Performs the conversion.

Performs the conversion.

Feeds this value into the given Hasher. Read more

Feeds a slice of this type into the given Hasher. Read more

Formats the value using the given formatter.

The resulting type after applying the ! operator.

Performs the unary ! operation. Read more

Formats the value using the given formatter.

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

Formats the value using the given formatter.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

🔬 This is a nightly-only experimental API. (toowned_clone_into)

recently added

Uses borrowed data to replace owned data, usually by cloning. Read more

Converts the given value to a String. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.