]> git.proxmox.com Git - rustc.git/blob - vendor/windows-sys-0.28.0/src/Windows/UI/Xaml/Automation/Text/mod.rs
New upstream version 1.66.0+dfsg1
[rustc.git] / vendor / windows-sys-0.28.0 / 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 #[link(name = "windows")]
3 extern "system" {}
4 #[repr(transparent)]
5 pub struct TextPatternRangeEndpoint(pub i32);
6 impl TextPatternRangeEndpoint {
7 pub const Start: Self = Self(0i32);
8 pub const End: Self = Self(1i32);
9 }
10 impl ::core::marker::Copy for TextPatternRangeEndpoint {}
11 impl ::core::clone::Clone for TextPatternRangeEndpoint {
12 fn clone(&self) -> Self {
13 *self
14 }
15 }
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 }