pub struct DataPackagePropertySet(/* private fields */);
Implementations§
§impl DataPackagePropertySet
impl DataPackagePropertySet
pub fn Title(&self) -> Result<HSTRING>
pub fn SetTitle(&self, value: &HSTRING) -> Result<()>
pub fn Description(&self) -> Result<HSTRING>
pub fn SetDescription(&self, value: &HSTRING) -> Result<()>
pub fn Thumbnail(&self) -> Result<IRandomAccessStreamReference>
pub fn SetThumbnail<P0>(&self, value: P0) -> Result<()>where
P0: Param<IRandomAccessStreamReference>,
pub fn FileTypes(&self) -> Result<IVector<HSTRING>>
pub fn ApplicationName(&self) -> Result<HSTRING>
pub fn SetApplicationName(&self, value: &HSTRING) -> Result<()>
pub fn ApplicationListingUri(&self) -> Result<Uri>
pub fn SetApplicationListingUri<P0>(&self, value: P0) -> Result<()>where
P0: Param<Uri>,
pub fn ContentSourceWebLink(&self) -> Result<Uri>
pub fn SetContentSourceWebLink<P0>(&self, value: P0) -> Result<()>where
P0: Param<Uri>,
pub fn ContentSourceApplicationLink(&self) -> Result<Uri>
pub fn SetContentSourceApplicationLink<P0>(&self, value: P0) -> Result<()>where
P0: Param<Uri>,
pub fn PackageFamilyName(&self) -> Result<HSTRING>
pub fn SetPackageFamilyName(&self, value: &HSTRING) -> Result<()>
pub fn Square30x30Logo(&self) -> Result<IRandomAccessStreamReference>
pub fn SetSquare30x30Logo<P0>(&self, value: P0) -> Result<()>where
P0: Param<IRandomAccessStreamReference>,
pub fn LogoBackgroundColor(&self) -> Result<Color>
pub fn SetLogoBackgroundColor(&self, value: Color) -> Result<()>
pub fn EnterpriseId(&self) -> Result<HSTRING>
pub fn SetEnterpriseId(&self, value: &HSTRING) -> Result<()>
pub fn ContentSourceUserActivityJson(&self) -> Result<HSTRING>
pub fn SetContentSourceUserActivityJson(&self, value: &HSTRING) -> Result<()>
pub fn First(&self) -> Result<IIterator<IKeyValuePair<HSTRING, IInspectable>>>
pub fn Lookup(&self, key: &HSTRING) -> Result<IInspectable>
pub fn Size(&self) -> Result<u32>
pub fn HasKey(&self, key: &HSTRING) -> Result<bool>
pub fn GetView(&self) -> Result<IMapView<HSTRING, IInspectable>>
pub fn Insert<P0>(&self, key: &HSTRING, value: P0) -> Result<bool>where
P0: Param<IInspectable>,
pub fn Remove(&self, key: &HSTRING) -> Result<()>
pub fn Clear(&self) -> Result<()>
Trait Implementations§
§impl CanInto<IInspectable> for DataPackagePropertySet
impl CanInto<IInspectable> for DataPackagePropertySet
§impl CanInto<IIterable<IKeyValuePair<HSTRING, IInspectable>>> for DataPackagePropertySet
impl CanInto<IIterable<IKeyValuePair<HSTRING, IInspectable>>> for DataPackagePropertySet
§impl CanInto<IUnknown> for DataPackagePropertySet
impl CanInto<IUnknown> for DataPackagePropertySet
§impl Clone for DataPackagePropertySet
impl Clone for DataPackagePropertySet
§fn clone(&self) -> DataPackagePropertySet
fn clone(&self) -> DataPackagePropertySet
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 DataPackagePropertySet
impl Debug for DataPackagePropertySet
§impl From<&DataPackagePropertySet> for &IInspectable
impl From<&DataPackagePropertySet> for &IInspectable
§fn from(value: &DataPackagePropertySet) -> Self
fn from(value: &DataPackagePropertySet) -> Self
Converts to this type from the input type.
§impl From<&DataPackagePropertySet> for &IUnknown
impl From<&DataPackagePropertySet> for &IUnknown
§fn from(value: &DataPackagePropertySet) -> Self
fn from(value: &DataPackagePropertySet) -> Self
Converts to this type from the input type.
§impl From<DataPackagePropertySet> for IInspectable
impl From<DataPackagePropertySet> for IInspectable
§fn from(value: DataPackagePropertySet) -> Self
fn from(value: DataPackagePropertySet) -> Self
Converts to this type from the input type.
§impl From<DataPackagePropertySet> for IUnknown
impl From<DataPackagePropertySet> for IUnknown
§fn from(value: DataPackagePropertySet) -> Self
fn from(value: DataPackagePropertySet) -> Self
Converts to this type from the input type.
§impl Interface for DataPackagePropertySet
impl Interface for DataPackagePropertySet
§const IID: GUID = <IDataPackagePropertySet as windows_core::Interface>::IID
const IID: GUID = <IDataPackagePropertySet as windows_core::Interface>::IID
The
GUID
associated with the interface.§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 IntoIterator for &DataPackagePropertySet
impl IntoIterator for &DataPackagePropertySet
§type Item = IKeyValuePair<HSTRING, IInspectable>
type Item = IKeyValuePair<HSTRING, IInspectable>
The type of the elements being iterated over.
§type IntoIter = IIterator<<&DataPackagePropertySet as IntoIterator>::Item>
type IntoIter = IIterator<<&DataPackagePropertySet as IntoIterator>::Item>
Which kind of iterator are we turning this into?
§impl IntoIterator for DataPackagePropertySet
impl IntoIterator for DataPackagePropertySet
§type Item = IKeyValuePair<HSTRING, IInspectable>
type Item = IKeyValuePair<HSTRING, IInspectable>
The type of the elements being iterated over.
§type IntoIter = IIterator<<DataPackagePropertySet as IntoIterator>::Item>
type IntoIter = IIterator<<DataPackagePropertySet as IntoIterator>::Item>
Which kind of iterator are we turning this into?
§impl PartialEq for DataPackagePropertySet
impl PartialEq for DataPackagePropertySet
§fn eq(&self, other: &DataPackagePropertySet) -> bool
fn eq(&self, other: &DataPackagePropertySet) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for DataPackagePropertySet
impl Send for DataPackagePropertySet
impl StructuralPartialEq for DataPackagePropertySet
impl Sync for DataPackagePropertySet
Auto Trait Implementations§
impl Freeze for DataPackagePropertySet
impl RefUnwindSafe for DataPackagePropertySet
impl Unpin for DataPackagePropertySet
impl UnwindSafe for DataPackagePropertySet
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
)