Struct IStorageFolderQueryOperations
pub struct IStorageFolderQueryOperations(/* private fields */);
Implementations§
§impl IStorageFolderQueryOperations
impl IStorageFolderQueryOperations
pub fn GetIndexedStateAsync(&self) -> Result<IAsyncOperation<IndexedState>>
pub fn CreateFileQueryOverloadDefault(&self) -> Result<StorageFileQueryResult>
pub fn CreateFileQuery( &self, query: CommonFileQuery, ) -> Result<StorageFileQueryResult>
pub fn CreateFileQueryWithOptions<P0>(
&self,
queryoptions: P0,
) -> Result<StorageFileQueryResult>where
P0: Param<QueryOptions>,
pub fn CreateFolderQueryOverloadDefault( &self, ) -> Result<StorageFolderQueryResult>
pub fn CreateFolderQuery( &self, query: CommonFolderQuery, ) -> Result<StorageFolderQueryResult>
pub fn CreateFolderQueryWithOptions<P0>(
&self,
queryoptions: P0,
) -> Result<StorageFolderQueryResult>where
P0: Param<QueryOptions>,
pub fn CreateItemQuery(&self) -> Result<StorageItemQueryResult>
pub fn CreateItemQueryWithOptions<P0>(
&self,
queryoptions: P0,
) -> Result<StorageItemQueryResult>where
P0: Param<QueryOptions>,
pub fn GetFilesAsync( &self, query: CommonFileQuery, startindex: u32, maxitemstoretrieve: u32, ) -> Result<IAsyncOperation<IVectorView<StorageFile>>>
pub fn GetFilesAsyncOverloadDefaultStartAndCount( &self, query: CommonFileQuery, ) -> Result<IAsyncOperation<IVectorView<StorageFile>>>
pub fn GetFoldersAsync( &self, query: CommonFolderQuery, startindex: u32, maxitemstoretrieve: u32, ) -> Result<IAsyncOperation<IVectorView<StorageFolder>>>
pub fn GetFoldersAsyncOverloadDefaultStartAndCount( &self, query: CommonFolderQuery, ) -> Result<IAsyncOperation<IVectorView<StorageFolder>>>
pub fn GetItemsAsync( &self, startindex: u32, maxitemstoretrieve: u32, ) -> Result<IAsyncOperation<IVectorView<IStorageItem>>>
pub fn AreQueryOptionsSupported<P0>(&self, queryoptions: P0) -> Result<bool>where
P0: Param<QueryOptions>,
pub fn IsCommonFolderQuerySupported( &self, query: CommonFolderQuery, ) -> Result<bool>
pub fn IsCommonFileQuerySupported(&self, query: CommonFileQuery) -> Result<bool>
Trait Implementations§
§impl CanInto<IInspectable> for IStorageFolderQueryOperations
impl CanInto<IInspectable> for IStorageFolderQueryOperations
§impl CanInto<IStorageFolderQueryOperations> for FolderInformation
impl CanInto<IStorageFolderQueryOperations> for FolderInformation
§impl CanInto<IStorageFolderQueryOperations> for StorageFolder
impl CanInto<IStorageFolderQueryOperations> for StorageFolder
§impl CanInto<IUnknown> for IStorageFolderQueryOperations
impl CanInto<IUnknown> for IStorageFolderQueryOperations
§impl Clone for IStorageFolderQueryOperations
impl Clone for IStorageFolderQueryOperations
§fn clone(&self) -> IStorageFolderQueryOperations
fn clone(&self) -> IStorageFolderQueryOperations
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 IStorageFolderQueryOperations
impl Debug for IStorageFolderQueryOperations
§impl From<&IStorageFolderQueryOperations> for &IInspectable
impl From<&IStorageFolderQueryOperations> for &IInspectable
§fn from(value: &IStorageFolderQueryOperations) -> Self
fn from(value: &IStorageFolderQueryOperations) -> Self
Converts to this type from the input type.
§impl From<&IStorageFolderQueryOperations> for &IUnknown
impl From<&IStorageFolderQueryOperations> for &IUnknown
§fn from(value: &IStorageFolderQueryOperations) -> Self
fn from(value: &IStorageFolderQueryOperations) -> Self
Converts to this type from the input type.
§impl From<IStorageFolderQueryOperations> for IInspectable
impl From<IStorageFolderQueryOperations> for IInspectable
§fn from(value: IStorageFolderQueryOperations) -> Self
fn from(value: IStorageFolderQueryOperations) -> Self
Converts to this type from the input type.
§impl From<IStorageFolderQueryOperations> for IUnknown
impl From<IStorageFolderQueryOperations> for IUnknown
§fn from(value: IStorageFolderQueryOperations) -> Self
fn from(value: IStorageFolderQueryOperations) -> Self
Converts to this type from the input type.
§impl Interface for IStorageFolderQueryOperations
impl Interface for IStorageFolderQueryOperations
§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.
§unsafe fn from_raw_borrowed(raw: &*mut c_void) -> Option<&Self>
unsafe fn from_raw_borrowed(raw: &*mut c_void) -> Option<&Self>
§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 IStorageFolderQueryOperations
impl PartialEq for IStorageFolderQueryOperations
impl Eq for IStorageFolderQueryOperations
impl StructuralPartialEq for IStorageFolderQueryOperations
Auto Trait Implementations§
impl Freeze for IStorageFolderQueryOperations
impl RefUnwindSafe for IStorageFolderQueryOperations
impl !Send for IStorageFolderQueryOperations
impl !Sync for IStorageFolderQueryOperations
impl Unpin for IStorageFolderQueryOperations
impl UnwindSafe for IStorageFolderQueryOperations
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