]> git.proxmox.com Git - rustc.git/blame - vendor/windows-sys/src/Windows/Media/ClosedCaptioning/mod.rs
New upstream version 1.62.1+dfsg1
[rustc.git] / vendor / windows-sys / src / Windows / Media / ClosedCaptioning / mod.rs
CommitLineData
5e7ed085 1#![allow(non_snake_case, non_camel_case_types, non_upper_case_globals, clashing_extern_declarations, clippy::all)]
04454e1e 2#[doc = "*Required features: `\"Media_ClosedCaptioning\"`*"]
5e7ed085
FG
3#[repr(transparent)]
4pub struct ClosedCaptionColor(pub i32);
5impl ClosedCaptionColor {
6 pub const Default: Self = Self(0i32);
7 pub const White: Self = Self(1i32);
8 pub const Black: Self = Self(2i32);
9 pub const Red: Self = Self(3i32);
10 pub const Green: Self = Self(4i32);
11 pub const Blue: Self = Self(5i32);
12 pub const Yellow: Self = Self(6i32);
13 pub const Magenta: Self = Self(7i32);
14 pub const Cyan: Self = Self(8i32);
15}
16impl ::core::marker::Copy for ClosedCaptionColor {}
17impl ::core::clone::Clone for ClosedCaptionColor {
18 fn clone(&self) -> Self {
19 *self
20 }
21}
04454e1e 22#[doc = "*Required features: `\"Media_ClosedCaptioning\"`*"]
5e7ed085
FG
23#[repr(transparent)]
24pub struct ClosedCaptionEdgeEffect(pub i32);
25impl ClosedCaptionEdgeEffect {
26 pub const Default: Self = Self(0i32);
27 pub const None: Self = Self(1i32);
28 pub const Raised: Self = Self(2i32);
29 pub const Depressed: Self = Self(3i32);
30 pub const Uniform: Self = Self(4i32);
31 pub const DropShadow: Self = Self(5i32);
32}
33impl ::core::marker::Copy for ClosedCaptionEdgeEffect {}
34impl ::core::clone::Clone for ClosedCaptionEdgeEffect {
35 fn clone(&self) -> Self {
36 *self
37 }
38}
04454e1e 39#[doc = "*Required features: `\"Media_ClosedCaptioning\"`*"]
5e7ed085
FG
40#[repr(transparent)]
41pub struct ClosedCaptionOpacity(pub i32);
42impl ClosedCaptionOpacity {
43 pub const Default: Self = Self(0i32);
44 pub const OneHundredPercent: Self = Self(1i32);
45 pub const SeventyFivePercent: Self = Self(2i32);
46 pub const TwentyFivePercent: Self = Self(3i32);
47 pub const ZeroPercent: Self = Self(4i32);
48}
49impl ::core::marker::Copy for ClosedCaptionOpacity {}
50impl ::core::clone::Clone for ClosedCaptionOpacity {
51 fn clone(&self) -> Self {
52 *self
53 }
54}
04454e1e 55#[doc = "*Required features: `\"Media_ClosedCaptioning\"`*"]
5e7ed085
FG
56#[repr(transparent)]
57pub struct ClosedCaptionSize(pub i32);
58impl ClosedCaptionSize {
59 pub const Default: Self = Self(0i32);
60 pub const FiftyPercent: Self = Self(1i32);
61 pub const OneHundredPercent: Self = Self(2i32);
62 pub const OneHundredFiftyPercent: Self = Self(3i32);
63 pub const TwoHundredPercent: Self = Self(4i32);
64}
65impl ::core::marker::Copy for ClosedCaptionSize {}
66impl ::core::clone::Clone for ClosedCaptionSize {
67 fn clone(&self) -> Self {
68 *self
69 }
70}
04454e1e 71#[doc = "*Required features: `\"Media_ClosedCaptioning\"`*"]
5e7ed085
FG
72#[repr(transparent)]
73pub struct ClosedCaptionStyle(pub i32);
74impl ClosedCaptionStyle {
75 pub const Default: Self = Self(0i32);
76 pub const MonospacedWithSerifs: Self = Self(1i32);
77 pub const ProportionalWithSerifs: Self = Self(2i32);
78 pub const MonospacedWithoutSerifs: Self = Self(3i32);
79 pub const ProportionalWithoutSerifs: Self = Self(4i32);
80 pub const Casual: Self = Self(5i32);
81 pub const Cursive: Self = Self(6i32);
82 pub const SmallCapitals: Self = Self(7i32);
83}
84impl ::core::marker::Copy for ClosedCaptionStyle {}
85impl ::core::clone::Clone for ClosedCaptionStyle {
86 fn clone(&self) -> Self {
87 *self
88 }
89}