]> git.proxmox.com Git - rustc.git/blob - vendor/windows-sys/src/Windows/UI/Xaml/Automation/Text/mod.rs
New upstream version 1.61.0+dfsg1
[rustc.git] / vendor / windows-sys / src / Windows / UI / Xaml / Automation / Text / mod.rs
1 #![allow(non_snake_case, non_camel_case_types, non_upper_case_globals, clashing_extern_declarations, clippy::all)]
2 #[doc = "*Required features: 'UI_Xaml_Automation_Text'*"]
3 #[repr(transparent)]
4 pub struct TextPatternRangeEndpoint(pub i32);
5 impl TextPatternRangeEndpoint {
6 pub const Start: Self = Self(0i32);
7 pub const End: Self = Self(1i32);
8 }
9 impl ::core::marker::Copy for TextPatternRangeEndpoint {}
10 impl ::core::clone::Clone for TextPatternRangeEndpoint {
11 fn clone(&self) -> Self {
12 *self
13 }
14 }
15 #[doc = "*Required features: 'UI_Xaml_Automation_Text'*"]
16 #[repr(transparent)]
17 pub struct TextUnit(pub i32);
18 impl TextUnit {
19 pub const Character: Self = Self(0i32);
20 pub const Format: Self = Self(1i32);
21 pub const Word: Self = Self(2i32);
22 pub const Line: Self = Self(3i32);
23 pub const Paragraph: Self = Self(4i32);
24 pub const Page: Self = Self(5i32);
25 pub const Document: Self = Self(6i32);
26 }
27 impl ::core::marker::Copy for TextUnit {}
28 impl ::core::clone::Clone for TextUnit {
29 fn clone(&self) -> Self {
30 *self
31 }
32 }