[−][src]Struct windows_media_transcoding_bindings::windows::storage::IStorageFile
Implementations
impl IStorageFile[src]
pub fn file_type(&self) -> Result<HString>[src]
pub fn content_type(&self) -> Result<HString>[src]
pub fn open_async(
&self,
access_mode: FileAccessMode
) -> Result<IAsyncOperation<IRandomAccessStream>>[src]
&self,
access_mode: FileAccessMode
) -> Result<IAsyncOperation<IRandomAccessStream>>
pub fn open_transacted_write_async(
&self
) -> Result<IAsyncOperation<StorageStreamTransaction>>[src]
&self
) -> Result<IAsyncOperation<StorageStreamTransaction>>
pub fn copy_overload_default_name_and_options<'a, T0__: Into<Param<'a, IStorageFolder>>>(
&self,
destination_folder: T0__
) -> Result<IAsyncOperation<StorageFile>>[src]
&self,
destination_folder: T0__
) -> Result<IAsyncOperation<StorageFile>>
pub fn copy_overload_default_options<'a, T0__: Into<Param<'a, IStorageFolder>>, T1__: Into<Param<'a, HString>>>(
&self,
destination_folder: T0__,
desired_new_name: T1__
) -> Result<IAsyncOperation<StorageFile>>[src]
&self,
destination_folder: T0__,
desired_new_name: T1__
) -> Result<IAsyncOperation<StorageFile>>
pub fn copy_overload<'a, T0__: Into<Param<'a, IStorageFolder>>, T1__: Into<Param<'a, HString>>>(
&self,
destination_folder: T0__,
desired_new_name: T1__,
option: NameCollisionOption
) -> Result<IAsyncOperation<StorageFile>>[src]
&self,
destination_folder: T0__,
desired_new_name: T1__,
option: NameCollisionOption
) -> Result<IAsyncOperation<StorageFile>>
pub fn copy_and_replace_async<'a, T0__: Into<Param<'a, IStorageFile>>>(
&self,
file_to_replace: T0__
) -> Result<IAsyncAction>[src]
&self,
file_to_replace: T0__
) -> Result<IAsyncAction>
pub fn move_overload_default_name_and_options<'a, T0__: Into<Param<'a, IStorageFolder>>>(
&self,
destination_folder: T0__
) -> Result<IAsyncAction>[src]
&self,
destination_folder: T0__
) -> Result<IAsyncAction>
pub fn move_overload_default_options<'a, T0__: Into<Param<'a, IStorageFolder>>, T1__: Into<Param<'a, HString>>>(
&self,
destination_folder: T0__,
desired_new_name: T1__
) -> Result<IAsyncAction>[src]
&self,
destination_folder: T0__,
desired_new_name: T1__
) -> Result<IAsyncAction>
pub fn move_overload<'a, T0__: Into<Param<'a, IStorageFolder>>, T1__: Into<Param<'a, HString>>>(
&self,
destination_folder: T0__,
desired_new_name: T1__,
option: NameCollisionOption
) -> Result<IAsyncAction>[src]
&self,
destination_folder: T0__,
desired_new_name: T1__,
option: NameCollisionOption
) -> Result<IAsyncAction>
pub fn move_and_replace_async<'a, T0__: Into<Param<'a, IStorageFile>>>(
&self,
file_to_replace: T0__
) -> Result<IAsyncAction>[src]
&self,
file_to_replace: T0__
) -> Result<IAsyncAction>
pub fn rename_async_overload_default_options<'a, T0__: Into<Param<'a, HString>>>(
&self,
desired_name: T0__
) -> Result<IAsyncAction>[src]
&self,
desired_name: T0__
) -> Result<IAsyncAction>
pub fn rename_async<'a, T0__: Into<Param<'a, HString>>>(
&self,
desired_name: T0__,
option: NameCollisionOption
) -> Result<IAsyncAction>[src]
&self,
desired_name: T0__,
option: NameCollisionOption
) -> Result<IAsyncAction>
pub fn delete_async_overload_default_options(&self) -> Result<IAsyncAction>[src]
pub fn delete_async(&self, option: StorageDeleteOption) -> Result<IAsyncAction>[src]
pub fn get_basic_properties_async(
&self
) -> Result<IAsyncOperation<BasicProperties>>[src]
&self
) -> Result<IAsyncOperation<BasicProperties>>
pub fn name(&self) -> Result<HString>[src]
pub fn path(&self) -> Result<HString>[src]
pub fn attributes(&self) -> Result<FileAttributes>[src]
pub fn date_created(&self) -> Result<DateTime>[src]
pub fn is_of_type(&self, r#type: StorageItemTypes) -> Result<bool>[src]
pub fn open_read_async(
&self
) -> Result<IAsyncOperation<IRandomAccessStreamWithContentType>>[src]
&self
) -> Result<IAsyncOperation<IRandomAccessStreamWithContentType>>
pub fn open_sequential_read_async(
&self
) -> Result<IAsyncOperation<IInputStream>>[src]
&self
) -> Result<IAsyncOperation<IInputStream>>
Trait Implementations
impl AbiTransferable for IStorageFile[src]
type Abi = RawComPtr<Self>
fn get_abi(&self) -> Self::Abi[src]
fn set_abi(&mut self) -> *mut Self::Abi[src]
fn from_abi(abi: &Self::Abi) -> &Self
fn from_mut_abi(abi: &mut Self::Abi) -> &mut Self
unsafe fn slice_from_abi<'a>(abi: *const Self::Abi, len: usize) -> &'a [Self]
unsafe fn slice_from_mut_abi<'a>(
abi: *mut Self::Abi,
len: usize
) -> &'a mut [Self]
abi: *mut Self::Abi,
len: usize
) -> &'a mut [Self]
fn into_abi(self) -> Self::Abi
impl Clone for IStorageFile[src]
fn clone(&self) -> Self[src]
fn clone_from(&mut self, source: &Self)1.0.0[src]
impl ComInterface for IStorageFile[src]
type VTable = abi_IStorageFile
fn iid() -> Guid[src]
fn as_iunknown(&self) -> Option<NonNullRawComPtr<IUnknown>>
fn query<Into>(&self) -> Into where
Into: ComInterface,
Into: ComInterface,
fn is_null(&self) -> bool
fn is_agile(&self) -> bool
unsafe fn raw_query<T>(&self, iid: &Guid, ppv: &mut T) where
T: ComInterface,
T: ComInterface,
impl Debug for IStorageFile[src]
impl Default for IStorageFile[src]
impl<'_> From<&'_ IStorageFile> for IStorageItem[src]
fn from(value: &IStorageFile) -> Self[src]
impl<'_> From<&'_ IStorageFile> for IRandomAccessStreamReference[src]
fn from(value: &IStorageFile) -> Self[src]
impl<'_> From<&'_ IStorageFile> for IInputStreamReference[src]
fn from(value: &IStorageFile) -> Self[src]
impl<'_> From<&'_ IStorageFile> for Object[src]
fn from(value: &IStorageFile) -> Self[src]
impl<'_> From<&'_ StorageFile> for IStorageFile[src]
fn from(value: &StorageFile) -> Self[src]
impl From<IStorageFile> for IStorageItem[src]
fn from(value: IStorageFile) -> Self[src]
impl From<IStorageFile> for IRandomAccessStreamReference[src]
fn from(value: IStorageFile) -> Self[src]
impl From<IStorageFile> for IInputStreamReference[src]
fn from(value: IStorageFile) -> Self[src]
impl From<IStorageFile> for Object[src]
fn from(value: IStorageFile) -> Self[src]
impl From<StorageFile> for IStorageFile[src]
fn from(value: StorageFile) -> Self[src]
impl<'a> Into<Param<'a, IInputStreamReference>> for IStorageFile[src]
fn into(self) -> Param<'a, IInputStreamReference>[src]
impl<'a> Into<Param<'a, IInputStreamReference>> for &'a IStorageFile[src]
fn into(self) -> Param<'a, IInputStreamReference>[src]
impl<'a> Into<Param<'a, IRandomAccessStreamReference>> for IStorageFile[src]
fn into(self) -> Param<'a, IRandomAccessStreamReference>[src]
impl<'a> Into<Param<'a, IRandomAccessStreamReference>> for &'a IStorageFile[src]
fn into(self) -> Param<'a, IRandomAccessStreamReference>[src]
impl<'a> Into<Param<'a, IStorageItem>> for IStorageFile[src]
fn into(self) -> Param<'a, IStorageItem>[src]
impl<'a> Into<Param<'a, IStorageItem>> for &'a IStorageFile[src]
fn into(self) -> Param<'a, IStorageItem>[src]
impl PartialEq<IStorageFile> for IStorageFile[src]
impl RuntimeType for IStorageFile[src]
Auto Trait Implementations
impl RefUnwindSafe for IStorageFile
impl !Send for IStorageFile
impl !Sync for IStorageFile
impl Unpin for IStorageFile
impl UnwindSafe for IStorageFile
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized, [src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized, [src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T[src]
impl<T> From<T> for T[src]
impl<T, U> Into<U> for T where
U: From<T>, [src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone, [src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T[src]
fn clone_into(&self, target: &mut T)[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>, [src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>, [src]
U: TryFrom<T>,