pub struct IPMTileInfo(/* private fields */);
Implementations§
§impl IPMTileInfo
impl IPMTileInfo
pub unsafe fn ProductID(&self) -> Result<GUID>
pub unsafe fn TileID(&self, ptileid: *mut BSTR) -> Result<()>
pub unsafe fn TemplateType(&self) -> Result<TILE_TEMPLATE_TYPE>
pub unsafe fn get_HubPinnedState( &self, hubtype: PM_TILE_HUBTYPE, ) -> Result<BOOL>
pub unsafe fn get_HubPosition(&self, hubtype: PM_TILE_HUBTYPE) -> Result<u32>
pub unsafe fn IsNotified(&self) -> Result<BOOL>
pub unsafe fn IsDefault(&self) -> Result<BOOL>
pub unsafe fn TaskID(&self, ptaskid: *mut BSTR) -> Result<()>
pub unsafe fn TileType(&self) -> Result<PM_STARTTILE_TYPE>
pub unsafe fn IsThemable(&self) -> Result<BOOL>
pub unsafe fn get_PropertyById( &self, propid: u32, ) -> Result<IPMTilePropertyInfo>
pub unsafe fn get_InvocationInfo( &self, pimageurn: *mut BSTR, pparameters: *mut BSTR, ) -> Result<()>
pub unsafe fn PropertyEnum(&self) -> Result<IPMTilePropertyEnumerator>
pub unsafe fn get_HubTileSize( &self, hubtype: PM_TILE_HUBTYPE, ) -> Result<PM_TILE_SIZE>
pub unsafe fn set_HubPosition( &self, hubtype: PM_TILE_HUBTYPE, position: u32, ) -> Result<()>
pub unsafe fn set_NotifiedState<P0>(&self, notified: P0) -> Result<()>where
P0: Param<BOOL>,
pub unsafe fn set_HubPinnedState<P0>(
&self,
hubtype: PM_TILE_HUBTYPE,
pinned: P0,
) -> Result<()>where
P0: Param<BOOL>,
pub unsafe fn set_HubTileSize( &self, hubtype: PM_TILE_HUBTYPE, size: PM_TILE_SIZE, ) -> Result<()>
pub unsafe fn set_InvocationInfo<P0, P1>(
&self,
taskname: P0,
taskparameters: P1,
) -> Result<()>where
P0: Param<BSTR>,
P1: Param<BSTR>,
pub unsafe fn StartTileBlob(&self, pblob: *mut PM_STARTTILEBLOB) -> Result<()>
pub unsafe fn IsRestoring(&self) -> Result<BOOL>
pub unsafe fn IsAutoRestoreDisabled(&self) -> Result<BOOL>
pub unsafe fn set_IsRestoring<P0>(&self, restoring: P0) -> Result<()>where
P0: Param<BOOL>,
pub unsafe fn set_IsAutoRestoreDisabled<P0>(
&self,
autorestoredisabled: P0,
) -> Result<()>where
P0: Param<BOOL>,
Trait Implementations§
§impl CanInto<IUnknown> for IPMTileInfo
impl CanInto<IUnknown> for IPMTileInfo
§impl Clone for IPMTileInfo
impl Clone for IPMTileInfo
§fn clone(&self) -> IPMTileInfo
fn clone(&self) -> IPMTileInfo
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 more§impl Debug for IPMTileInfo
impl Debug for IPMTileInfo
§impl Deref for IPMTileInfo
impl Deref for IPMTileInfo
§impl From<&IPMTileInfo> for &IUnknown
impl From<&IPMTileInfo> for &IUnknown
§fn from(value: &IPMTileInfo) -> Self
fn from(value: &IPMTileInfo) -> Self
Converts to this type from the input type.
§impl From<IPMTileInfo> for IUnknown
impl From<IPMTileInfo> for IUnknown
§fn from(value: IPMTileInfo) -> Self
fn from(value: IPMTileInfo) -> Self
Converts to this type from the input type.
§impl Interface for IPMTileInfo
impl Interface for IPMTileInfo
§fn as_raw(&self) -> *mut c_void
fn as_raw(&self) -> *mut c_void
Returns the raw COM interface pointer. The resulting pointer continues to be owned by the
Interface
implementation.§fn into_raw(self) -> *mut c_void
fn into_raw(self) -> *mut c_void
Returns the raw COM interface pointer and releases ownership. It the caller’s responsibility to release the COM interface pointer.
§fn cast<T>(&self) -> Result<T, Error>where
T: Interface,
fn cast<T>(&self) -> Result<T, Error>where
T: Interface,
Attempts to cast the current interface to another interface using
QueryInterface
. Read more§fn cast_to_any<T>(&self) -> Result<&(dyn Any + 'static), Error>where
T: ComObjectInner,
<T as ComObjectInner>::Outer: Any + 'static + IUnknownImpl<Impl = T>,
fn cast_to_any<T>(&self) -> Result<&(dyn Any + 'static), Error>where
T: ComObjectInner,
<T as ComObjectInner>::Outer: Any + 'static + IUnknownImpl<Impl = T>,
This casts the given COM interface to [
&dyn Any
]. Read more§fn is_object<T>(&self) -> boolwhere
T: ComObjectInner,
<T as ComObjectInner>::Outer: Any + 'static + IUnknownImpl<Impl = T>,
fn is_object<T>(&self) -> boolwhere
T: ComObjectInner,
<T as ComObjectInner>::Outer: Any + 'static + IUnknownImpl<Impl = T>,
§fn cast_object_ref<T>(&self) -> Result<&<T as ComObjectInner>::Outer, Error>where
T: ComObjectInner,
<T as ComObjectInner>::Outer: Any + 'static + IUnknownImpl<Impl = T>,
fn cast_object_ref<T>(&self) -> Result<&<T as ComObjectInner>::Outer, Error>where
T: ComObjectInner,
<T as ComObjectInner>::Outer: Any + 'static + IUnknownImpl<Impl = T>,
This casts the given COM interface to [
&dyn Any
]. It returns a reference to the “outer”
object, e.g. &MyApp_Impl
, not the inner &MyApp
object. Read more§fn cast_object<T>(&self) -> Result<ComObject<T>, Error>where
T: ComObjectInner,
<T as ComObjectInner>::Outer: Any + 'static + IUnknownImpl<Impl = T>,
fn cast_object<T>(&self) -> Result<ComObject<T>, Error>where
T: ComObjectInner,
<T as ComObjectInner>::Outer: Any + 'static + IUnknownImpl<Impl = T>,
This casts the given COM interface to [
&dyn Any
]. It returns a reference to the “outer”
object, e.g. MyApp_Impl
, not the inner MyApp
object. Read more§fn downgrade(&self) -> Result<Weak<Self>, Error>
fn downgrade(&self) -> Result<Weak<Self>, Error>
Attempts to create a [
Weak
] reference to this object.§impl PartialEq for IPMTileInfo
impl PartialEq for IPMTileInfo
§fn eq(&self, other: &IPMTileInfo) -> bool
fn eq(&self, other: &IPMTileInfo) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for IPMTileInfo
impl StructuralPartialEq for IPMTileInfo
Auto Trait Implementations§
impl Freeze for IPMTileInfo
impl RefUnwindSafe for IPMTileInfo
impl !Send for IPMTileInfo
impl !Sync for IPMTileInfo
impl Unpin for IPMTileInfo
impl UnwindSafe for IPMTileInfo
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)