Struct windows::UI::ViewManagement::ApplicationViewSwitcher
pub struct ApplicationViewSwitcher;
Implementations§
§impl ApplicationViewSwitcher
impl ApplicationViewSwitcher
pub fn DisableShowingMainViewOnActivation() -> Result<()>
pub fn TryShowAsStandaloneAsync(viewid: i32) -> Result<IAsyncOperation<bool>>
pub fn TryShowAsStandaloneWithSizePreferenceAsync( viewid: i32, sizepreference: ViewSizePreference, ) -> Result<IAsyncOperation<bool>>
pub fn TryShowAsStandaloneWithAnchorViewAndSizePreferenceAsync( viewid: i32, sizepreference: ViewSizePreference, anchorviewid: i32, anchorsizepreference: ViewSizePreference, ) -> Result<IAsyncOperation<bool>>
pub fn SwitchAsync(viewid: i32) -> Result<IAsyncAction>
pub fn SwitchFromViewAsync( toviewid: i32, fromviewid: i32, ) -> Result<IAsyncAction>
pub fn SwitchFromViewWithOptionsAsync( toviewid: i32, fromviewid: i32, options: ApplicationViewSwitchingOptions, ) -> Result<IAsyncAction>
pub fn PrepareForCustomAnimatedSwitchAsync( toviewid: i32, fromviewid: i32, options: ApplicationViewSwitchingOptions, ) -> Result<IAsyncOperation<bool>>
pub fn DisableSystemViewActivationPolicy() -> Result<()>
pub fn TryShowAsViewModeAsync( viewid: i32, viewmode: ApplicationViewMode, ) -> Result<IAsyncOperation<bool>>
pub fn TryShowAsViewModeWithPreferencesAsync<P0>(
viewid: i32,
viewmode: ApplicationViewMode,
viewmodepreferences: P0,
) -> Result<IAsyncOperation<bool>>where
P0: Param<ViewModePreferences>,
Auto Trait Implementations§
impl Freeze for ApplicationViewSwitcher
impl RefUnwindSafe for ApplicationViewSwitcher
impl Send for ApplicationViewSwitcher
impl Sync for ApplicationViewSwitcher
impl Unpin for ApplicationViewSwitcher
impl UnwindSafe for ApplicationViewSwitcher
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more