Trait IBitmapFrame_Impl
pub trait IBitmapFrame_Impl: IUnknownImpl {
// Required methods
fn GetThumbnailAsync(&self) -> Result<IAsyncOperation<ImageStream>>;
fn BitmapProperties(&self) -> Result<BitmapPropertiesView>;
fn BitmapPixelFormat(&self) -> Result<BitmapPixelFormat>;
fn BitmapAlphaMode(&self) -> Result<BitmapAlphaMode>;
fn DpiX(&self) -> Result<f64>;
fn DpiY(&self) -> Result<f64>;
fn PixelWidth(&self) -> Result<u32>;
fn PixelHeight(&self) -> Result<u32>;
fn OrientedPixelWidth(&self) -> Result<u32>;
fn OrientedPixelHeight(&self) -> Result<u32>;
fn GetPixelDataAsync(&self) -> Result<IAsyncOperation<PixelDataProvider>>;
fn GetPixelDataTransformedAsync(
&self,
pixelFormat: BitmapPixelFormat,
alphaMode: BitmapAlphaMode,
transform: Ref<'_, BitmapTransform>,
exifOrientationMode: ExifOrientationMode,
colorManagementMode: ColorManagementMode,
) -> Result<IAsyncOperation<PixelDataProvider>>;
}
Required Methods§
fn GetThumbnailAsync(&self) -> Result<IAsyncOperation<ImageStream>>
fn BitmapProperties(&self) -> Result<BitmapPropertiesView>
fn BitmapPixelFormat(&self) -> Result<BitmapPixelFormat>
fn BitmapAlphaMode(&self) -> Result<BitmapAlphaMode>
fn DpiX(&self) -> Result<f64>
fn DpiY(&self) -> Result<f64>
fn PixelWidth(&self) -> Result<u32>
fn PixelHeight(&self) -> Result<u32>
fn OrientedPixelWidth(&self) -> Result<u32>
fn OrientedPixelHeight(&self) -> Result<u32>
fn GetPixelDataAsync(&self) -> Result<IAsyncOperation<PixelDataProvider>>
fn GetPixelDataTransformedAsync( &self, pixelFormat: BitmapPixelFormat, alphaMode: BitmapAlphaMode, transform: Ref<'_, BitmapTransform>, exifOrientationMode: ExifOrientationMode, colorManagementMode: ColorManagementMode, ) -> Result<IAsyncOperation<PixelDataProvider>>
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.