pub struct IApplicationDesignModeSettings2(/* private fields */);
Implementations§
Source§impl IApplicationDesignModeSettings2
impl IApplicationDesignModeSettings2
pub unsafe fn SetNativeDisplaySize<'a>( &self, nativedisplaysizepixels: impl IntoParam<'a, SIZE>, ) -> Result<()>
pub unsafe fn SetScaleFactor( &self, scalefactor: DEVICE_SCALE_FACTOR, ) -> Result<()>
pub unsafe fn SetApplicationViewState( &self, viewstate: APPLICATION_VIEW_STATE, ) -> Result<()>
pub unsafe fn ComputeApplicationSize(&self) -> Result<SIZE>
pub unsafe fn IsApplicationViewStateSupported<'a>( &self, viewstate: APPLICATION_VIEW_STATE, nativedisplaysizepixels: impl IntoParam<'a, SIZE>, scalefactor: DEVICE_SCALE_FACTOR, ) -> Result<BOOL>
pub unsafe fn TriggerEdgeGesture( &self, edgegesturekind: EDGE_GESTURE_KIND, ) -> Result<()>
pub unsafe fn SetNativeDisplayOrientation( &self, nativedisplayorientation: NATIVE_DISPLAY_ORIENTATION, ) -> Result<()>
pub unsafe fn SetApplicationViewOrientation( &self, vieworientation: APPLICATION_VIEW_ORIENTATION, ) -> Result<()>
pub unsafe fn SetAdjacentDisplayEdges( &self, adjacentdisplayedges: ADJACENT_DISPLAY_EDGES, ) -> Result<()>
pub unsafe fn SetIsOnLockScreen<'a>( &self, isonlockscreen: impl IntoParam<'a, BOOL>, ) -> Result<()>
pub unsafe fn SetApplicationViewMinWidth( &self, viewminwidth: APPLICATION_VIEW_MIN_WIDTH, ) -> Result<()>
pub unsafe fn GetApplicationSizeBounds( &self, minapplicationsizepixels: *mut SIZE, maxapplicationsizepixels: *mut SIZE, ) -> Result<()>
pub unsafe fn GetApplicationViewOrientation<'a>( &self, applicationsizepixels: impl IntoParam<'a, SIZE>, ) -> Result<APPLICATION_VIEW_ORIENTATION>
Trait Implementations§
Source§impl Clone for IApplicationDesignModeSettings2
impl Clone for IApplicationDesignModeSettings2
Source§fn clone(&self) -> IApplicationDesignModeSettings2
fn clone(&self) -> IApplicationDesignModeSettings2
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl From<&IApplicationDesignModeSettings2> for IApplicationDesignModeSettings
impl From<&IApplicationDesignModeSettings2> for IApplicationDesignModeSettings
Source§fn from(value: &IApplicationDesignModeSettings2) -> Self
fn from(value: &IApplicationDesignModeSettings2) -> Self
Converts to this type from the input type.
Source§impl From<&IApplicationDesignModeSettings2> for IUnknown
impl From<&IApplicationDesignModeSettings2> for IUnknown
Source§fn from(value: &IApplicationDesignModeSettings2) -> Self
fn from(value: &IApplicationDesignModeSettings2) -> Self
Converts to this type from the input type.
Source§impl From<IApplicationDesignModeSettings2> for IApplicationDesignModeSettings
impl From<IApplicationDesignModeSettings2> for IApplicationDesignModeSettings
Source§fn from(value: IApplicationDesignModeSettings2) -> Self
fn from(value: IApplicationDesignModeSettings2) -> Self
Converts to this type from the input type.
Source§impl From<IApplicationDesignModeSettings2> for IUnknown
impl From<IApplicationDesignModeSettings2> for IUnknown
Source§fn from(value: IApplicationDesignModeSettings2) -> Self
fn from(value: IApplicationDesignModeSettings2) -> Self
Converts to this type from the input type.
Source§impl Interface for IApplicationDesignModeSettings2
impl Interface for IApplicationDesignModeSettings2
const IID: Guid
type Vtable = IApplicationDesignModeSettings2_abi
Source§unsafe fn assume_vtable<T>(&self) -> &<T as Interface>::Vtablewhere
T: Interface,
unsafe fn assume_vtable<T>(&self) -> &<T as Interface>::Vtablewhere
T: Interface,
Safety Read more
Source§unsafe fn query(&self, iid: *const Guid, interface: *mut *mut c_void) -> HRESULT
unsafe fn query(&self, iid: *const Guid, interface: *mut *mut c_void) -> HRESULT
Safety Read more
Source§impl PartialEq for IApplicationDesignModeSettings2
impl PartialEq for IApplicationDesignModeSettings2
Source§fn eq(&self, other: &IApplicationDesignModeSettings2) -> bool
fn eq(&self, other: &IApplicationDesignModeSettings2) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.impl Eq for IApplicationDesignModeSettings2
impl StructuralPartialEq for IApplicationDesignModeSettings2
Auto Trait Implementations§
impl Freeze for IApplicationDesignModeSettings2
impl RefUnwindSafe for IApplicationDesignModeSettings2
impl !Send for IApplicationDesignModeSettings2
impl !Sync for IApplicationDesignModeSettings2
impl Unpin for IApplicationDesignModeSettings2
impl UnwindSafe for IApplicationDesignModeSettings2
Blanket Implementations§
Source§impl<T> Abi for Twhere
T: Interface,
impl<T> Abi for Twhere
T: Interface,
type DefaultType = Option<T>
Source§fn ok(value: &<T as Abi>::DefaultType) -> Result<T, Error>
fn ok(value: &<T as Abi>::DefaultType) -> Result<T, Error>
Converts from
Self::DefaultType
to Result<T>
.Source§fn set_abi(&mut self) -> *mut <T as Abi>::Abi
fn set_abi(&mut self) -> *mut <T as Abi>::Abi
Returns a pointer for setting the object’s value via an ABI call.
fn drop_param(_: &mut Param<'_, Self>)
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