Struct windows::Storage::FileProperties::DocumentProperties
pub struct DocumentProperties(/* private fields */);
Implementations§
§impl DocumentProperties
impl DocumentProperties
pub fn Author(&self) -> Result<IVector<HSTRING>>
pub fn Title(&self) -> Result<HSTRING>
pub fn SetTitle(&self, value: &HSTRING) -> Result<()>
pub fn Keywords(&self) -> Result<IVector<HSTRING>>
pub fn Comment(&self) -> Result<HSTRING>
pub fn SetComment(&self, value: &HSTRING) -> Result<()>
pub fn RetrievePropertiesAsync<P0>( &self, propertiestoretrieve: P0 ) -> Result<IAsyncOperation<IMap<HSTRING, IInspectable>>>
pub fn SavePropertiesAsync<P0>( &self, propertiestosave: P0 ) -> Result<IAsyncAction>
pub fn SavePropertiesAsyncOverloadDefault(&self) -> Result<IAsyncAction>
Trait Implementations§
§impl Clone for DocumentProperties
impl Clone for DocumentProperties
§fn clone(&self) -> DocumentProperties
fn clone(&self) -> DocumentProperties
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 DocumentProperties
impl Debug for DocumentProperties
§impl From<&DocumentProperties> for &IInspectable
impl From<&DocumentProperties> for &IInspectable
§fn from(value: &DocumentProperties) -> Self
fn from(value: &DocumentProperties) -> Self
Converts to this type from the input type.
§impl From<&DocumentProperties> for &IUnknown
impl From<&DocumentProperties> for &IUnknown
§fn from(value: &DocumentProperties) -> Self
fn from(value: &DocumentProperties) -> Self
Converts to this type from the input type.
§impl From<DocumentProperties> for IInspectable
impl From<DocumentProperties> for IInspectable
§fn from(value: DocumentProperties) -> Self
fn from(value: DocumentProperties) -> Self
Converts to this type from the input type.
§impl From<DocumentProperties> for IUnknown
impl From<DocumentProperties> for IUnknown
§fn from(value: DocumentProperties) -> Self
fn from(value: DocumentProperties) -> Self
Converts to this type from the input type.
§impl Interface for DocumentProperties
impl Interface for DocumentProperties
§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 DocumentProperties
impl PartialEq for DocumentProperties
§fn eq(&self, other: &DocumentProperties) -> bool
fn eq(&self, other: &DocumentProperties) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for DocumentProperties
impl StructuralPartialEq for DocumentProperties
Auto Trait Implementations§
impl RefUnwindSafe for DocumentProperties
impl !Send for DocumentProperties
impl !Sync for DocumentProperties
impl Unpin for DocumentProperties
impl UnwindSafe for DocumentProperties
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