diff options
Diffstat (limited to 'vendor/windows-sys-0.28.0/src/Windows/Globalization')
6 files changed, 0 insertions, 275 deletions
diff --git a/vendor/windows-sys-0.28.0/src/Windows/Globalization/Collation/mod.rs b/vendor/windows-sys-0.28.0/src/Windows/Globalization/Collation/mod.rs deleted file mode 100644 index c7584e0d1..000000000 --- a/vendor/windows-sys-0.28.0/src/Windows/Globalization/Collation/mod.rs +++ /dev/null @@ -1,5 +0,0 @@ -#![allow(non_snake_case, non_camel_case_types, non_upper_case_globals, clashing_extern_declarations, clippy::all)] -#[link(name = "windows")] -extern "system" {} -pub type CharacterGrouping = *mut ::core::ffi::c_void; -pub type CharacterGroupings = *mut ::core::ffi::c_void; diff --git a/vendor/windows-sys-0.28.0/src/Windows/Globalization/DateTimeFormatting/mod.rs b/vendor/windows-sys-0.28.0/src/Windows/Globalization/DateTimeFormatting/mod.rs deleted file mode 100644 index b68ee6827..000000000 --- a/vendor/windows-sys-0.28.0/src/Windows/Globalization/DateTimeFormatting/mod.rs +++ /dev/null @@ -1,95 +0,0 @@ -#![allow(non_snake_case, non_camel_case_types, non_upper_case_globals, clashing_extern_declarations, clippy::all)] -#[link(name = "windows")] -extern "system" {} -pub type DateTimeFormatter = *mut ::core::ffi::c_void; -#[repr(transparent)] -pub struct DayFormat(pub i32); -impl DayFormat { - pub const None: Self = Self(0i32); - pub const Default: Self = Self(1i32); -} -impl ::core::marker::Copy for DayFormat {} -impl ::core::clone::Clone for DayFormat { - fn clone(&self) -> Self { - *self - } -} -#[repr(transparent)] -pub struct DayOfWeekFormat(pub i32); -impl DayOfWeekFormat { - pub const None: Self = Self(0i32); - pub const Default: Self = Self(1i32); - pub const Abbreviated: Self = Self(2i32); - pub const Full: Self = Self(3i32); -} -impl ::core::marker::Copy for DayOfWeekFormat {} -impl ::core::clone::Clone for DayOfWeekFormat { - fn clone(&self) -> Self { - *self - } -} -#[repr(transparent)] -pub struct HourFormat(pub i32); -impl HourFormat { - pub const None: Self = Self(0i32); - pub const Default: Self = Self(1i32); -} -impl ::core::marker::Copy for HourFormat {} -impl ::core::clone::Clone for HourFormat { - fn clone(&self) -> Self { - *self - } -} -#[repr(transparent)] -pub struct MinuteFormat(pub i32); -impl MinuteFormat { - pub const None: Self = Self(0i32); - pub const Default: Self = Self(1i32); -} -impl ::core::marker::Copy for MinuteFormat {} -impl ::core::clone::Clone for MinuteFormat { - fn clone(&self) -> Self { - *self - } -} -#[repr(transparent)] -pub struct MonthFormat(pub i32); -impl MonthFormat { - pub const None: Self = Self(0i32); - pub const Default: Self = Self(1i32); - pub const Abbreviated: Self = Self(2i32); - pub const Full: Self = Self(3i32); - pub const Numeric: Self = Self(4i32); -} -impl ::core::marker::Copy for MonthFormat {} -impl ::core::clone::Clone for MonthFormat { - fn clone(&self) -> Self { - *self - } -} -#[repr(transparent)] -pub struct SecondFormat(pub i32); -impl SecondFormat { - pub const None: Self = Self(0i32); - pub const Default: Self = Self(1i32); -} -impl ::core::marker::Copy for SecondFormat {} -impl ::core::clone::Clone for SecondFormat { - fn clone(&self) -> Self { - *self - } -} -#[repr(transparent)] -pub struct YearFormat(pub i32); -impl YearFormat { - pub const None: Self = Self(0i32); - pub const Default: Self = Self(1i32); - pub const Abbreviated: Self = Self(2i32); - pub const Full: Self = Self(3i32); -} -impl ::core::marker::Copy for YearFormat {} -impl ::core::clone::Clone for YearFormat { - fn clone(&self) -> Self { - *self - } -} diff --git a/vendor/windows-sys-0.28.0/src/Windows/Globalization/Fonts/mod.rs b/vendor/windows-sys-0.28.0/src/Windows/Globalization/Fonts/mod.rs deleted file mode 100644 index 7bc90cb4a..000000000 --- a/vendor/windows-sys-0.28.0/src/Windows/Globalization/Fonts/mod.rs +++ /dev/null @@ -1,5 +0,0 @@ -#![allow(non_snake_case, non_camel_case_types, non_upper_case_globals, clashing_extern_declarations, clippy::all)] -#[link(name = "windows")] -extern "system" {} -pub type LanguageFont = *mut ::core::ffi::c_void; -pub type LanguageFontGroup = *mut ::core::ffi::c_void; diff --git a/vendor/windows-sys-0.28.0/src/Windows/Globalization/NumberFormatting/mod.rs b/vendor/windows-sys-0.28.0/src/Windows/Globalization/NumberFormatting/mod.rs deleted file mode 100644 index e57129d5a..000000000 --- a/vendor/windows-sys-0.28.0/src/Windows/Globalization/NumberFormatting/mod.rs +++ /dev/null @@ -1,51 +0,0 @@ -#![allow(non_snake_case, non_camel_case_types, non_upper_case_globals, clashing_extern_declarations, clippy::all)] -#[link(name = "windows")] -extern "system" {} -pub type CurrencyFormatter = *mut ::core::ffi::c_void; -#[repr(transparent)] -pub struct CurrencyFormatterMode(pub i32); -impl CurrencyFormatterMode { - pub const UseSymbol: Self = Self(0i32); - pub const UseCurrencyCode: Self = Self(1i32); -} -impl ::core::marker::Copy for CurrencyFormatterMode {} -impl ::core::clone::Clone for CurrencyFormatterMode { - fn clone(&self) -> Self { - *self - } -} -pub type DecimalFormatter = *mut ::core::ffi::c_void; -pub type INumberFormatter = *mut ::core::ffi::c_void; -pub type INumberFormatter2 = *mut ::core::ffi::c_void; -pub type INumberFormatterOptions = *mut ::core::ffi::c_void; -pub type INumberParser = *mut ::core::ffi::c_void; -pub type INumberRounder = *mut ::core::ffi::c_void; -pub type INumberRounderOption = *mut ::core::ffi::c_void; -pub type ISignedZeroOption = *mut ::core::ffi::c_void; -pub type ISignificantDigitsOption = *mut ::core::ffi::c_void; -pub type IncrementNumberRounder = *mut ::core::ffi::c_void; -pub type NumeralSystemTranslator = *mut ::core::ffi::c_void; -pub type PercentFormatter = *mut ::core::ffi::c_void; -pub type PermilleFormatter = *mut ::core::ffi::c_void; -#[repr(transparent)] -pub struct RoundingAlgorithm(pub i32); -impl RoundingAlgorithm { - pub const None: Self = Self(0i32); - pub const RoundDown: Self = Self(1i32); - pub const RoundUp: Self = Self(2i32); - pub const RoundTowardsZero: Self = Self(3i32); - pub const RoundAwayFromZero: Self = Self(4i32); - pub const RoundHalfDown: Self = Self(5i32); - pub const RoundHalfUp: Self = Self(6i32); - pub const RoundHalfTowardsZero: Self = Self(7i32); - pub const RoundHalfAwayFromZero: Self = Self(8i32); - pub const RoundHalfToEven: Self = Self(9i32); - pub const RoundHalfToOdd: Self = Self(10i32); -} -impl ::core::marker::Copy for RoundingAlgorithm {} -impl ::core::clone::Clone for RoundingAlgorithm { - fn clone(&self) -> Self { - *self - } -} -pub type SignificantDigitsNumberRounder = *mut ::core::ffi::c_void; diff --git a/vendor/windows-sys-0.28.0/src/Windows/Globalization/PhoneNumberFormatting/mod.rs b/vendor/windows-sys-0.28.0/src/Windows/Globalization/PhoneNumberFormatting/mod.rs deleted file mode 100644 index 52bb7b165..000000000 --- a/vendor/windows-sys-0.28.0/src/Windows/Globalization/PhoneNumberFormatting/mod.rs +++ /dev/null @@ -1,70 +0,0 @@ -#![allow(non_snake_case, non_camel_case_types, non_upper_case_globals, clashing_extern_declarations, clippy::all)] -#[link(name = "windows")] -extern "system" {} -#[repr(transparent)] -pub struct PhoneNumberFormat(pub i32); -impl PhoneNumberFormat { - pub const E164: Self = Self(0i32); - pub const International: Self = Self(1i32); - pub const National: Self = Self(2i32); - pub const Rfc3966: Self = Self(3i32); -} -impl ::core::marker::Copy for PhoneNumberFormat {} -impl ::core::clone::Clone for PhoneNumberFormat { - fn clone(&self) -> Self { - *self - } -} -pub type PhoneNumberFormatter = *mut ::core::ffi::c_void; -pub type PhoneNumberInfo = *mut ::core::ffi::c_void; -#[repr(transparent)] -pub struct PhoneNumberMatchResult(pub i32); -impl PhoneNumberMatchResult { - pub const NoMatch: Self = Self(0i32); - pub const ShortNationalSignificantNumberMatch: Self = Self(1i32); - pub const NationalSignificantNumberMatch: Self = Self(2i32); - pub const ExactMatch: Self = Self(3i32); -} -impl ::core::marker::Copy for PhoneNumberMatchResult {} -impl ::core::clone::Clone for PhoneNumberMatchResult { - fn clone(&self) -> Self { - *self - } -} -#[repr(transparent)] -pub struct PhoneNumberParseResult(pub i32); -impl PhoneNumberParseResult { - pub const Valid: Self = Self(0i32); - pub const NotANumber: Self = Self(1i32); - pub const InvalidCountryCode: Self = Self(2i32); - pub const TooShort: Self = Self(3i32); - pub const TooLong: Self = Self(4i32); -} -impl ::core::marker::Copy for PhoneNumberParseResult {} -impl ::core::clone::Clone for PhoneNumberParseResult { - fn clone(&self) -> Self { - *self - } -} -#[repr(transparent)] -pub struct PredictedPhoneNumberKind(pub i32); -impl PredictedPhoneNumberKind { - pub const FixedLine: Self = Self(0i32); - pub const Mobile: Self = Self(1i32); - pub const FixedLineOrMobile: Self = Self(2i32); - pub const TollFree: Self = Self(3i32); - pub const PremiumRate: Self = Self(4i32); - pub const SharedCost: Self = Self(5i32); - pub const Voip: Self = Self(6i32); - pub const PersonalNumber: Self = Self(7i32); - pub const Pager: Self = Self(8i32); - pub const UniversalAccountNumber: Self = Self(9i32); - pub const Voicemail: Self = Self(10i32); - pub const Unknown: Self = Self(11i32); -} -impl ::core::marker::Copy for PredictedPhoneNumberKind {} -impl ::core::clone::Clone for PredictedPhoneNumberKind { - fn clone(&self) -> Self { - *self - } -} diff --git a/vendor/windows-sys-0.28.0/src/Windows/Globalization/mod.rs b/vendor/windows-sys-0.28.0/src/Windows/Globalization/mod.rs deleted file mode 100644 index a23f56f95..000000000 --- a/vendor/windows-sys-0.28.0/src/Windows/Globalization/mod.rs +++ /dev/null @@ -1,49 +0,0 @@ -#![allow(non_snake_case, non_camel_case_types, non_upper_case_globals, clashing_extern_declarations, clippy::all)] -#[cfg(feature = "Globalization_Collation")] -pub mod Collation; -#[cfg(feature = "Globalization_DateTimeFormatting")] -pub mod DateTimeFormatting; -#[cfg(feature = "Globalization_Fonts")] -pub mod Fonts; -#[cfg(feature = "Globalization_NumberFormatting")] -pub mod NumberFormatting; -#[cfg(feature = "Globalization_PhoneNumberFormatting")] -pub mod PhoneNumberFormatting; -#[link(name = "windows")] -extern "system" {} -pub type Calendar = *mut ::core::ffi::c_void; -pub type CurrencyAmount = *mut ::core::ffi::c_void; -#[repr(transparent)] -pub struct DayOfWeek(pub i32); -impl DayOfWeek { - pub const Sunday: Self = Self(0i32); - pub const Monday: Self = Self(1i32); - pub const Tuesday: Self = Self(2i32); - pub const Wednesday: Self = Self(3i32); - pub const Thursday: Self = Self(4i32); - pub const Friday: Self = Self(5i32); - pub const Saturday: Self = Self(6i32); -} -impl ::core::marker::Copy for DayOfWeek {} -impl ::core::clone::Clone for DayOfWeek { - fn clone(&self) -> Self { - *self - } -} -pub type GeographicRegion = *mut ::core::ffi::c_void; -pub type JapanesePhoneme = *mut ::core::ffi::c_void; -pub type Language = *mut ::core::ffi::c_void; -#[repr(transparent)] -pub struct LanguageLayoutDirection(pub i32); -impl LanguageLayoutDirection { - pub const Ltr: Self = Self(0i32); - pub const Rtl: Self = Self(1i32); - pub const TtbLtr: Self = Self(2i32); - pub const TtbRtl: Self = Self(3i32); -} -impl ::core::marker::Copy for LanguageLayoutDirection {} -impl ::core::clone::Clone for LanguageLayoutDirection { - fn clone(&self) -> Self { - *self - } -} |