Struct windows::UI::ViewManagement::ProjectionManager
pub struct ProjectionManager;
Implementations§
§impl ProjectionManager
impl ProjectionManager
pub fn StartProjectingAsync( projectionviewid: i32, anchorviewid: i32, ) -> Result<IAsyncAction>
pub fn SwapDisplaysForViewsAsync( projectionviewid: i32, anchorviewid: i32, ) -> Result<IAsyncAction>
pub fn StopProjectingAsync( projectionviewid: i32, anchorviewid: i32, ) -> Result<IAsyncAction>
pub fn ProjectionDisplayAvailable() -> Result<bool>
pub fn ProjectionDisplayAvailableChanged<P0>(
handler: P0,
) -> Result<EventRegistrationToken>where
P0: Param<EventHandler<IInspectable>>,
pub fn RemoveProjectionDisplayAvailableChanged( token: EventRegistrationToken, ) -> Result<()>
pub fn StartProjectingWithDeviceInfoAsync<P0>(
projectionviewid: i32,
anchorviewid: i32,
displaydeviceinfo: P0,
) -> Result<IAsyncAction>where
P0: Param<DeviceInformation>,
pub fn RequestStartProjectingAsync( projectionviewid: i32, anchorviewid: i32, selection: Rect, ) -> Result<IAsyncOperation<bool>>
pub fn RequestStartProjectingWithPlacementAsync( projectionviewid: i32, anchorviewid: i32, selection: Rect, prefferedplacement: Placement, ) -> Result<IAsyncOperation<bool>>
pub fn GetDeviceSelector() -> Result<HSTRING>
Auto Trait Implementations§
impl Freeze for ProjectionManager
impl RefUnwindSafe for ProjectionManager
impl Send for ProjectionManager
impl Sync for ProjectionManager
impl Unpin for ProjectionManager
impl UnwindSafe for ProjectionManager
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