#[cfg(feature = "UI_Core_AnimationMetrics")]
pub mod AnimationMetrics;
#[cfg(feature = "UI_Core_Preview")]
pub mod Preview;
pub type AcceleratorKeyEventArgs = *mut ::core::ffi::c_void;
#[doc = "*Required features: `\"UI_Core\"`*"]
#[repr(transparent)]
pub struct AppViewBackButtonVisibility(pub i32);
impl AppViewBackButtonVisibility {
pub const Visible: Self = Self(0i32);
pub const Collapsed: Self = Self(1i32);
pub const Disabled: Self = Self(2i32);
}
impl ::core::marker::Copy for AppViewBackButtonVisibility {}
impl ::core::clone::Clone for AppViewBackButtonVisibility {
fn clone(&self) -> Self {
*self
}
}
pub type AutomationProviderRequestedEventArgs = *mut ::core::ffi::c_void;
pub type BackRequestedEventArgs = *mut ::core::ffi::c_void;
pub type CharacterReceivedEventArgs = *mut ::core::ffi::c_void;
pub type ClosestInteractiveBoundsRequestedEventArgs = *mut ::core::ffi::c_void;
#[doc = "*Required features: `\"UI_Core\"`*"]
#[repr(transparent)]
pub struct CoreAcceleratorKeyEventType(pub i32);
impl CoreAcceleratorKeyEventType {
pub const Character: Self = Self(2i32);
pub const DeadCharacter: Self = Self(3i32);
pub const KeyDown: Self = Self(0i32);
pub const KeyUp: Self = Self(1i32);
pub const SystemCharacter: Self = Self(6i32);
pub const SystemDeadCharacter: Self = Self(7i32);
pub const SystemKeyDown: Self = Self(4i32);
pub const SystemKeyUp: Self = Self(5i32);
pub const UnicodeCharacter: Self = Self(8i32);
}
impl ::core::marker::Copy for CoreAcceleratorKeyEventType {}
impl ::core::clone::Clone for CoreAcceleratorKeyEventType {
fn clone(&self) -> Self {
*self
}
}
pub type CoreAcceleratorKeys = *mut ::core::ffi::c_void;
pub type CoreComponentInputSource = *mut ::core::ffi::c_void;
pub type CoreCursor = *mut ::core::ffi::c_void;
#[doc = "*Required features: `\"UI_Core\"`*"]
#[repr(transparent)]
pub struct CoreCursorType(pub i32);
impl CoreCursorType {
pub const Arrow: Self = Self(0i32);
pub const Cross: Self = Self(1i32);
pub const Custom: Self = Self(2i32);
pub const Hand: Self = Self(3i32);
pub const Help: Self = Self(4i32);
pub const IBeam: Self = Self(5i32);
pub const SizeAll: Self = Self(6i32);
pub const SizeNortheastSouthwest: Self = Self(7i32);
pub const SizeNorthSouth: Self = Self(8i32);
pub const SizeNorthwestSoutheast: Self = Self(9i32);
pub const SizeWestEast: Self = Self(10i32);
pub const UniversalNo: Self = Self(11i32);
pub const UpArrow: Self = Self(12i32);
pub const Wait: Self = Self(13i32);
pub const Pin: Self = Self(14i32);
pub const Person: Self = Self(15i32);
}
impl ::core::marker::Copy for CoreCursorType {}
impl ::core::clone::Clone for CoreCursorType {
fn clone(&self) -> Self {
*self
}
}
pub type CoreDispatcher = *mut ::core::ffi::c_void;
#[doc = "*Required features: `\"UI_Core\"`*"]
#[repr(transparent)]
pub struct CoreDispatcherPriority(pub i32);
impl CoreDispatcherPriority {
pub const Idle: Self = Self(-2i32);
pub const Low: Self = Self(-1i32);
pub const Normal: Self = Self(0i32);
pub const High: Self = Self(1i32);
}
impl ::core::marker::Copy for CoreDispatcherPriority {}
impl ::core::clone::Clone for CoreDispatcherPriority {
fn clone(&self) -> Self {
*self
}
}
#[doc = "*Required features: `\"UI_Core\"`*"]
#[repr(transparent)]
pub struct CoreIndependentInputFilters(pub u32);
impl CoreIndependentInputFilters {
pub const None: Self = Self(0u32);
pub const MouseButton: Self = Self(1u32);
pub const MouseWheel: Self = Self(2u32);
pub const MouseHover: Self = Self(4u32);
pub const PenWithBarrel: Self = Self(8u32);
pub const PenInverted: Self = Self(16u32);
}
impl ::core::marker::Copy for CoreIndependentInputFilters {}
impl ::core::clone::Clone for CoreIndependentInputFilters {
fn clone(&self) -> Self {
*self
}
}
pub type CoreIndependentInputSource = *mut ::core::ffi::c_void;
pub type CoreIndependentInputSourceController = *mut ::core::ffi::c_void;
#[doc = "*Required features: `\"UI_Core\"`*"]
#[repr(transparent)]
pub struct CoreInputDeviceTypes(pub u32);
impl CoreInputDeviceTypes {
pub const None: Self = Self(0u32);
pub const Touch: Self = Self(1u32);
pub const Pen: Self = Self(2u32);
pub const Mouse: Self = Self(4u32);
}
impl ::core::marker::Copy for CoreInputDeviceTypes {}
impl ::core::clone::Clone for CoreInputDeviceTypes {
fn clone(&self) -> Self {
*self
}
}
#[repr(C)]
#[doc = "*Required features: `\"UI_Core\"`*"]
pub struct CorePhysicalKeyStatus {
pub RepeatCount: u32,
pub ScanCode: u32,
pub IsExtendedKey: bool,
pub IsMenuKeyDown: bool,
pub WasKeyDown: bool,
pub IsKeyReleased: bool,
}
impl ::core::marker::Copy for CorePhysicalKeyStatus {}
impl ::core::clone::Clone for CorePhysicalKeyStatus {
fn clone(&self) -> Self {
*self
}
}
#[doc = "*Required features: `\"UI_Core\"`*"]
#[repr(transparent)]
pub struct CoreProcessEventsOption(pub i32);
impl CoreProcessEventsOption {
pub const ProcessOneAndAllPending: Self = Self(0i32);
pub const ProcessOneIfPresent: Self = Self(1i32);
pub const ProcessUntilQuit: Self = Self(2i32);
pub const ProcessAllIfPresent: Self = Self(3i32);
}
impl ::core::marker::Copy for CoreProcessEventsOption {}
impl ::core::clone::Clone for CoreProcessEventsOption {
fn clone(&self) -> Self {
*self
}
}
#[repr(C)]
#[doc = "*Required features: `\"UI_Core\"`, `\"Foundation\"`*"]
#[cfg(feature = "Foundation")]
pub struct CoreProximityEvaluation {
pub Score: i32,
pub AdjustedPoint: super::super::Foundation::Point,
}
#[cfg(feature = "Foundation")]
impl ::core::marker::Copy for CoreProximityEvaluation {}
#[cfg(feature = "Foundation")]
impl ::core::clone::Clone for CoreProximityEvaluation {
fn clone(&self) -> Self {
*self
}
}
#[doc = "*Required features: `\"UI_Core\"`*"]
#[repr(transparent)]
pub struct CoreProximityEvaluationScore(pub i32);
impl CoreProximityEvaluationScore {
pub const Closest: Self = Self(0i32);
pub const Farthest: Self = Self(2147483647i32);
}
impl ::core::marker::Copy for CoreProximityEvaluationScore {}
impl ::core::clone::Clone for CoreProximityEvaluationScore {
fn clone(&self) -> Self {
*self
}
}
#[doc = "*Required features: `\"UI_Core\"`*"]
#[repr(transparent)]
pub struct CoreVirtualKeyStates(pub u32);
impl CoreVirtualKeyStates {
pub const None: Self = Self(0u32);
pub const Down: Self = Self(1u32);
pub const Locked: Self = Self(2u32);
}
impl ::core::marker::Copy for CoreVirtualKeyStates {}
impl ::core::clone::Clone for CoreVirtualKeyStates {
fn clone(&self) -> Self {
*self
}
}
pub type CoreWindow = *mut ::core::ffi::c_void;
#[doc = "*Required features: `\"UI_Core\"`*"]
#[repr(transparent)]
pub struct CoreWindowActivationMode(pub i32);
impl CoreWindowActivationMode {
pub const None: Self = Self(0i32);
pub const Deactivated: Self = Self(1i32);
pub const ActivatedNotForeground: Self = Self(2i32);
pub const ActivatedInForeground: Self = Self(3i32);
}
impl ::core::marker::Copy for CoreWindowActivationMode {}
impl ::core::clone::Clone for CoreWindowActivationMode {
fn clone(&self) -> Self {
*self
}
}
#[doc = "*Required features: `\"UI_Core\"`*"]
#[repr(transparent)]
pub struct CoreWindowActivationState(pub i32);
impl CoreWindowActivationState {
pub const CodeActivated: Self = Self(0i32);
pub const Deactivated: Self = Self(1i32);
pub const PointerActivated: Self = Self(2i32);
}
impl ::core::marker::Copy for CoreWindowActivationState {}
impl ::core::clone::Clone for CoreWindowActivationState {
fn clone(&self) -> Self {
*self
}
}
pub type CoreWindowDialog = *mut ::core::ffi::c_void;
pub type CoreWindowEventArgs = *mut ::core::ffi::c_void;
#[doc = "*Required features: `\"UI_Core\"`*"]
#[repr(transparent)]
pub struct CoreWindowFlowDirection(pub i32);
impl CoreWindowFlowDirection {
pub const LeftToRight: Self = Self(0i32);
pub const RightToLeft: Self = Self(1i32);
}
impl ::core::marker::Copy for CoreWindowFlowDirection {}
impl ::core::clone::Clone for CoreWindowFlowDirection {
fn clone(&self) -> Self {
*self
}
}
pub type CoreWindowFlyout = *mut ::core::ffi::c_void;
pub type CoreWindowPopupShowingEventArgs = *mut ::core::ffi::c_void;
pub type CoreWindowResizeManager = *mut ::core::ffi::c_void;
pub type DispatchedHandler = *mut ::core::ffi::c_void;
pub type ICoreAcceleratorKeys = *mut ::core::ffi::c_void;
pub type ICoreInputSourceBase = *mut ::core::ffi::c_void;
pub type ICorePointerInputSource = *mut ::core::ffi::c_void;
pub type ICorePointerInputSource2 = *mut ::core::ffi::c_void;
pub type ICorePointerRedirector = *mut ::core::ffi::c_void;
pub type ICoreWindow = *mut ::core::ffi::c_void;
pub type ICoreWindowEventArgs = *mut ::core::ffi::c_void;
pub type IInitializeWithCoreWindow = *mut ::core::ffi::c_void;
pub type IdleDispatchedHandler = *mut ::core::ffi::c_void;
pub type IdleDispatchedHandlerArgs = *mut ::core::ffi::c_void;
pub type InputEnabledEventArgs = *mut ::core::ffi::c_void;
pub type KeyEventArgs = *mut ::core::ffi::c_void;
pub type PointerEventArgs = *mut ::core::ffi::c_void;
pub type SystemNavigationManager = *mut ::core::ffi::c_void;
pub type TouchHitTestingEventArgs = *mut ::core::ffi::c_void;
pub type VisibilityChangedEventArgs = *mut ::core::ffi::c_void;
pub type WindowActivatedEventArgs = *mut ::core::ffi::c_void;
pub type WindowSizeChangedEventArgs = *mut ::core::ffi::c_void;