pub struct IApplicationDesignModeSettings(/* private fields */);
Implementations§
Source§impl IApplicationDesignModeSettings
impl IApplicationDesignModeSettings
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<()>
Trait Implementations§
Source§impl Clone for IApplicationDesignModeSettings
impl Clone for IApplicationDesignModeSettings
Source§fn clone(&self) -> IApplicationDesignModeSettings
fn clone(&self) -> IApplicationDesignModeSettings
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<&IApplicationDesignModeSettings> for IUnknown
impl From<&IApplicationDesignModeSettings> for IUnknown
Source§fn from(value: &IApplicationDesignModeSettings) -> Self
fn from(value: &IApplicationDesignModeSettings) -> 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<IApplicationDesignModeSettings> for IUnknown
impl From<IApplicationDesignModeSettings> for IUnknown
Source§fn from(value: IApplicationDesignModeSettings) -> Self
fn from(value: IApplicationDesignModeSettings) -> 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 Interface for IApplicationDesignModeSettings
impl Interface for IApplicationDesignModeSettings
const IID: Guid
type Vtable = IApplicationDesignModeSettings_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 IApplicationDesignModeSettings
impl PartialEq for IApplicationDesignModeSettings
Source§fn eq(&self, other: &IApplicationDesignModeSettings) -> bool
fn eq(&self, other: &IApplicationDesignModeSettings) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.impl Eq for IApplicationDesignModeSettings
impl StructuralPartialEq for IApplicationDesignModeSettings
Auto Trait Implementations§
impl Freeze for IApplicationDesignModeSettings
impl RefUnwindSafe for IApplicationDesignModeSettings
impl !Send for IApplicationDesignModeSettings
impl !Sync for IApplicationDesignModeSettings
impl Unpin for IApplicationDesignModeSettings
impl UnwindSafe for IApplicationDesignModeSettings
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