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