]> git.proxmox.com Git - rustc.git/blame - vendor/windows-sys/src/Windows/UI/Xaml/Data/mod.rs
New upstream version 1.63.0+dfsg1
[rustc.git] / vendor / windows-sys / src / Windows / UI / Xaml / Data / mod.rs
CommitLineData
5e7ed085
FG
1pub type Binding = *mut ::core::ffi::c_void;
2pub type BindingBase = *mut ::core::ffi::c_void;
3pub type BindingExpression = *mut ::core::ffi::c_void;
4pub type BindingExpressionBase = *mut ::core::ffi::c_void;
04454e1e 5#[doc = "*Required features: `\"UI_Xaml_Data\"`*"]
5e7ed085
FG
6#[repr(transparent)]
7pub struct BindingMode(pub i32);
8impl BindingMode {
9 pub const OneWay: Self = Self(1i32);
10 pub const OneTime: Self = Self(2i32);
11 pub const TwoWay: Self = Self(3i32);
12}
13impl ::core::marker::Copy for BindingMode {}
14impl ::core::clone::Clone for BindingMode {
15 fn clone(&self) -> Self {
16 *self
17 }
18}
19pub type BindingOperations = *mut ::core::ffi::c_void;
20pub type CollectionViewSource = *mut ::core::ffi::c_void;
21pub type CurrentChangingEventArgs = *mut ::core::ffi::c_void;
22pub type CurrentChangingEventHandler = *mut ::core::ffi::c_void;
23pub type ICollectionView = *mut ::core::ffi::c_void;
24pub type ICollectionViewFactory = *mut ::core::ffi::c_void;
25pub type ICollectionViewGroup = *mut ::core::ffi::c_void;
26pub type ICustomProperty = *mut ::core::ffi::c_void;
27pub type ICustomPropertyProvider = *mut ::core::ffi::c_void;
28pub type IItemsRangeInfo = *mut ::core::ffi::c_void;
29pub type INotifyPropertyChanged = *mut ::core::ffi::c_void;
30pub type ISelectionInfo = *mut ::core::ffi::c_void;
31pub type ISupportIncrementalLoading = *mut ::core::ffi::c_void;
32pub type IValueConverter = *mut ::core::ffi::c_void;
33pub type ItemIndexRange = *mut ::core::ffi::c_void;
34#[repr(C)]
04454e1e 35#[doc = "*Required features: `\"UI_Xaml_Data\"`*"]
5e7ed085
FG
36pub struct LoadMoreItemsResult {
37 pub Count: u32,
38}
39impl ::core::marker::Copy for LoadMoreItemsResult {}
40impl ::core::clone::Clone for LoadMoreItemsResult {
41 fn clone(&self) -> Self {
42 *self
43 }
44}
45pub type PropertyChangedEventArgs = *mut ::core::ffi::c_void;
46pub type PropertyChangedEventHandler = *mut ::core::ffi::c_void;
47pub type RelativeSource = *mut ::core::ffi::c_void;
04454e1e 48#[doc = "*Required features: `\"UI_Xaml_Data\"`*"]
5e7ed085
FG
49#[repr(transparent)]
50pub struct RelativeSourceMode(pub i32);
51impl RelativeSourceMode {
52 pub const None: Self = Self(0i32);
53 pub const TemplatedParent: Self = Self(1i32);
54 pub const Self_: Self = Self(2i32);
55}
56impl ::core::marker::Copy for RelativeSourceMode {}
57impl ::core::clone::Clone for RelativeSourceMode {
58 fn clone(&self) -> Self {
59 *self
60 }
61}
04454e1e 62#[doc = "*Required features: `\"UI_Xaml_Data\"`*"]
5e7ed085
FG
63#[repr(transparent)]
64pub struct UpdateSourceTrigger(pub i32);
65impl UpdateSourceTrigger {
66 pub const Default: Self = Self(0i32);
67 pub const PropertyChanged: Self = Self(1i32);
68 pub const Explicit: Self = Self(2i32);
69 pub const LostFocus: Self = Self(3i32);
70}
71impl ::core::marker::Copy for UpdateSourceTrigger {}
72impl ::core::clone::Clone for UpdateSourceTrigger {
73 fn clone(&self) -> Self {
74 *self
75 }
76}