Struct windows::Storage::FileProperties::ImageProperties
pub struct ImageProperties(/* private fields */);
Implementations§
§impl ImageProperties
impl ImageProperties
pub fn Rating(&self) -> Result<u32>
pub fn SetRating(&self, value: u32) -> Result<()>
pub fn Keywords(&self) -> Result<IVector<HSTRING>>
pub fn DateTaken(&self) -> Result<DateTime>
pub fn SetDateTaken(&self, value: DateTime) -> Result<()>
pub fn Width(&self) -> Result<u32>
pub fn Height(&self) -> Result<u32>
pub fn Title(&self) -> Result<HSTRING>
pub fn SetTitle(&self, value: &HSTRING) -> Result<()>
pub fn Latitude(&self) -> Result<IReference<f64>>
pub fn Longitude(&self) -> Result<IReference<f64>>
pub fn CameraManufacturer(&self) -> Result<HSTRING>
pub fn SetCameraManufacturer(&self, value: &HSTRING) -> Result<()>
pub fn CameraModel(&self) -> Result<HSTRING>
pub fn SetCameraModel(&self, value: &HSTRING) -> Result<()>
pub fn Orientation(&self) -> Result<PhotoOrientation>
pub fn PeopleNames(&self) -> Result<IVectorView<HSTRING>>
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 ImageProperties
impl Clone for ImageProperties
§fn clone(&self) -> ImageProperties
fn clone(&self) -> ImageProperties
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 ImageProperties
impl Debug for ImageProperties
§impl From<&ImageProperties> for &IInspectable
impl From<&ImageProperties> for &IInspectable
§fn from(value: &ImageProperties) -> Self
fn from(value: &ImageProperties) -> Self
Converts to this type from the input type.
§impl From<&ImageProperties> for &IUnknown
impl From<&ImageProperties> for &IUnknown
§fn from(value: &ImageProperties) -> Self
fn from(value: &ImageProperties) -> Self
Converts to this type from the input type.
§impl From<ImageProperties> for IInspectable
impl From<ImageProperties> for IInspectable
§fn from(value: ImageProperties) -> Self
fn from(value: ImageProperties) -> Self
Converts to this type from the input type.
§impl From<ImageProperties> for IUnknown
impl From<ImageProperties> for IUnknown
§fn from(value: ImageProperties) -> Self
fn from(value: ImageProperties) -> Self
Converts to this type from the input type.
§impl Interface for ImageProperties
impl Interface for ImageProperties
§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 ImageProperties
impl PartialEq for ImageProperties
§fn eq(&self, other: &ImageProperties) -> bool
fn eq(&self, other: &ImageProperties) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for ImageProperties
impl StructuralPartialEq for ImageProperties
Auto Trait Implementations§
impl RefUnwindSafe for ImageProperties
impl !Send for ImageProperties
impl !Sync for ImageProperties
impl Unpin for ImageProperties
impl UnwindSafe for ImageProperties
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