CountryPrefs

Struct CountryPrefs 

Source
#[repr(C, packed(2))]
pub struct CountryPrefs {
Show 34 fields pub cp_Reserved: [ULONG; 4], pub cp_CountryCode: ULONG, pub cp_TelephoneCode: ULONG, pub cp_MeasuringSystem: UBYTE, pub cp_DateTimeFormat: [c_char; 80], pub cp_DateFormat: [c_char; 40], pub cp_TimeFormat: [c_char; 40], pub cp_ShortDateTimeFormat: [c_char; 80], pub cp_ShortDateFormat: [c_char; 40], pub cp_ShortTimeFormat: [c_char; 40], pub cp_DecimalPoint: [c_char; 10], pub cp_GroupSeparator: [c_char; 10], pub cp_FracGroupSeparator: [c_char; 10], pub cp_Grouping: [UBYTE; 10], pub cp_FracGrouping: [UBYTE; 10], pub cp_MonDecimalPoint: [c_char; 10], pub cp_MonGroupSeparator: [c_char; 10], pub cp_MonFracGroupSeparator: [c_char; 10], pub cp_MonGrouping: [UBYTE; 10], pub cp_MonFracGrouping: [UBYTE; 10], pub cp_MonFracDigits: UBYTE, pub cp_MonIntFracDigits: UBYTE, pub cp_MonCS: [c_char; 10], pub cp_MonSmallCS: [c_char; 10], pub cp_MonIntCS: [c_char; 10], pub cp_MonPositiveSign: [c_char; 10], pub cp_MonPositiveSpaceSep: UBYTE, pub cp_MonPositiveSignPos: UBYTE, pub cp_MonPositiveCSPos: UBYTE, pub cp_MonNegativeSign: [c_char; 10], pub cp_MonNegativeSpaceSep: UBYTE, pub cp_MonNegativeSignPos: UBYTE, pub cp_MonNegativeCSPos: UBYTE, pub cp_CalendarType: UBYTE,
}

Fields§

§cp_Reserved: [ULONG; 4]§cp_CountryCode: ULONG§cp_TelephoneCode: ULONG§cp_MeasuringSystem: UBYTE§cp_DateTimeFormat: [c_char; 80]§cp_DateFormat: [c_char; 40]§cp_TimeFormat: [c_char; 40]§cp_ShortDateTimeFormat: [c_char; 80]§cp_ShortDateFormat: [c_char; 40]§cp_ShortTimeFormat: [c_char; 40]§cp_DecimalPoint: [c_char; 10]§cp_GroupSeparator: [c_char; 10]§cp_FracGroupSeparator: [c_char; 10]§cp_Grouping: [UBYTE; 10]§cp_FracGrouping: [UBYTE; 10]§cp_MonDecimalPoint: [c_char; 10]§cp_MonGroupSeparator: [c_char; 10]§cp_MonFracGroupSeparator: [c_char; 10]§cp_MonGrouping: [UBYTE; 10]§cp_MonFracGrouping: [UBYTE; 10]§cp_MonFracDigits: UBYTE§cp_MonIntFracDigits: UBYTE§cp_MonCS: [c_char; 10]§cp_MonSmallCS: [c_char; 10]§cp_MonIntCS: [c_char; 10]§cp_MonPositiveSign: [c_char; 10]§cp_MonPositiveSpaceSep: UBYTE§cp_MonPositiveSignPos: UBYTE§cp_MonPositiveCSPos: UBYTE§cp_MonNegativeSign: [c_char; 10]§cp_MonNegativeSpaceSep: UBYTE§cp_MonNegativeSignPos: UBYTE§cp_MonNegativeCSPos: UBYTE§cp_CalendarType: UBYTE

Trait Implementations§

Source§

impl Clone for CountryPrefs

Source§

fn clone(&self) -> CountryPrefs

Returns a duplicate of the value. Read more
1.0.0 · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Debug for CountryPrefs

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl Copy for CountryPrefs

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

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

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.