]> git.proxmox.com Git - rustc.git/blob - vendor/windows-sys/src/Windows/UI/Xaml/Navigation/mod.rs
New upstream version 1.61.0+dfsg1
[rustc.git] / vendor / windows-sys / src / Windows / UI / Xaml / Navigation / mod.rs
1 #![allow(non_snake_case, non_camel_case_types, non_upper_case_globals, clashing_extern_declarations, clippy::all)]
2 pub type FrameNavigationOptions = *mut ::core::ffi::c_void;
3 pub type LoadCompletedEventHandler = *mut ::core::ffi::c_void;
4 pub type NavigatedEventHandler = *mut ::core::ffi::c_void;
5 pub type NavigatingCancelEventArgs = *mut ::core::ffi::c_void;
6 pub type NavigatingCancelEventHandler = *mut ::core::ffi::c_void;
7 #[doc = "*Required features: 'UI_Xaml_Navigation'*"]
8 #[repr(transparent)]
9 pub struct NavigationCacheMode(pub i32);
10 impl NavigationCacheMode {
11 pub const Disabled: Self = Self(0i32);
12 pub const Required: Self = Self(1i32);
13 pub const Enabled: Self = Self(2i32);
14 }
15 impl ::core::marker::Copy for NavigationCacheMode {}
16 impl ::core::clone::Clone for NavigationCacheMode {
17 fn clone(&self) -> Self {
18 *self
19 }
20 }
21 pub type NavigationEventArgs = *mut ::core::ffi::c_void;
22 pub type NavigationFailedEventArgs = *mut ::core::ffi::c_void;
23 pub type NavigationFailedEventHandler = *mut ::core::ffi::c_void;
24 #[doc = "*Required features: 'UI_Xaml_Navigation'*"]
25 #[repr(transparent)]
26 pub struct NavigationMode(pub i32);
27 impl NavigationMode {
28 pub const New: Self = Self(0i32);
29 pub const Back: Self = Self(1i32);
30 pub const Forward: Self = Self(2i32);
31 pub const Refresh: Self = Self(3i32);
32 }
33 impl ::core::marker::Copy for NavigationMode {}
34 impl ::core::clone::Clone for NavigationMode {
35 fn clone(&self) -> Self {
36 *self
37 }
38 }
39 pub type NavigationStoppedEventHandler = *mut ::core::ffi::c_void;
40 pub type PageStackEntry = *mut ::core::ffi::c_void;