Struct windows::Storage::Provider::StorageProviderStatusUI
pub struct StorageProviderStatusUI(/* private fields */);
Implementations§
§impl StorageProviderStatusUI
impl StorageProviderStatusUI
pub fn new() -> Result<Self>
pub fn ProviderState(&self) -> Result<StorageProviderState>
pub fn SetProviderState(&self, value: StorageProviderState) -> Result<()>
pub fn ProviderStateLabel(&self) -> Result<HSTRING>
pub fn SetProviderStateLabel(&self, value: &HSTRING) -> Result<()>
pub fn ProviderStateIcon(&self) -> Result<Uri>
pub fn SetProviderStateIcon<P0>(&self, value: P0) -> Result<()>where
P0: IntoParam<Uri>,
pub fn SyncStatusCommand(&self) -> Result<IStorageProviderUICommand>
pub fn SetSyncStatusCommand<P0>(&self, value: P0) -> Result<()>where
P0: IntoParam<IStorageProviderUICommand>,
pub fn QuotaUI(&self) -> Result<StorageProviderQuotaUI>
pub fn SetQuotaUI<P0>(&self, value: P0) -> Result<()>where
P0: IntoParam<StorageProviderQuotaUI>,
pub fn MoreInfoUI(&self) -> Result<StorageProviderMoreInfoUI>
pub fn SetMoreInfoUI<P0>(&self, value: P0) -> Result<()>where
P0: IntoParam<StorageProviderMoreInfoUI>,
pub fn ProviderPrimaryCommand(&self) -> Result<IStorageProviderUICommand>
pub fn SetProviderPrimaryCommand<P0>(&self, value: P0) -> Result<()>where
P0: IntoParam<IStorageProviderUICommand>,
pub fn ProviderSecondaryCommands( &self ) -> Result<IVector<IStorageProviderUICommand>>
pub fn SetProviderSecondaryCommands<P0>(&self, value: P0) -> Result<()>where
P0: IntoParam<IVector<IStorageProviderUICommand>>,
Trait Implementations§
§impl Clone for StorageProviderStatusUI
impl Clone for StorageProviderStatusUI
§fn clone(&self) -> StorageProviderStatusUI
fn clone(&self) -> StorageProviderStatusUI
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 StorageProviderStatusUI
impl Debug for StorageProviderStatusUI
§impl From<&StorageProviderStatusUI> for &IInspectable
impl From<&StorageProviderStatusUI> for &IInspectable
§fn from(value: &StorageProviderStatusUI) -> Self
fn from(value: &StorageProviderStatusUI) -> Self
Converts to this type from the input type.
§impl From<&StorageProviderStatusUI> for &IUnknown
impl From<&StorageProviderStatusUI> for &IUnknown
§fn from(value: &StorageProviderStatusUI) -> Self
fn from(value: &StorageProviderStatusUI) -> Self
Converts to this type from the input type.
§impl From<StorageProviderStatusUI> for IInspectable
impl From<StorageProviderStatusUI> for IInspectable
§fn from(value: StorageProviderStatusUI) -> Self
fn from(value: StorageProviderStatusUI) -> Self
Converts to this type from the input type.
§impl From<StorageProviderStatusUI> for IUnknown
impl From<StorageProviderStatusUI> for IUnknown
§fn from(value: StorageProviderStatusUI) -> Self
fn from(value: StorageProviderStatusUI) -> Self
Converts to this type from the input type.
§impl Interface for StorageProviderStatusUI
impl Interface for StorageProviderStatusUI
§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§impl PartialEq for StorageProviderStatusUI
impl PartialEq for StorageProviderStatusUI
§fn eq(&self, other: &StorageProviderStatusUI) -> bool
fn eq(&self, other: &StorageProviderStatusUI) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for StorageProviderStatusUI
impl Send for StorageProviderStatusUI
impl StructuralPartialEq for StorageProviderStatusUI
impl Sync for StorageProviderStatusUI
Auto Trait Implementations§
impl RefUnwindSafe for StorageProviderStatusUI
impl Unpin for StorageProviderStatusUI
impl UnwindSafe for StorageProviderStatusUI
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