windows::Graphics::Imaging

Trait IBitmapFrameWithSoftwareBitmap_Impl

pub trait IBitmapFrameWithSoftwareBitmap_Impl: IBitmapFrame_Impl {
    // Required methods
    fn GetSoftwareBitmapAsync(&self) -> Result<IAsyncOperation<SoftwareBitmap>>;
    fn GetSoftwareBitmapConvertedAsync(
        &self,
        pixelFormat: BitmapPixelFormat,
        alphaMode: BitmapAlphaMode,
    ) -> Result<IAsyncOperation<SoftwareBitmap>>;
    fn GetSoftwareBitmapTransformedAsync(
        &self,
        pixelFormat: BitmapPixelFormat,
        alphaMode: BitmapAlphaMode,
        transform: Ref<'_, BitmapTransform>,
        exifOrientationMode: ExifOrientationMode,
        colorManagementMode: ColorManagementMode,
    ) -> Result<IAsyncOperation<SoftwareBitmap>>;
}

Required Methods§

fn GetSoftwareBitmapAsync(&self) -> Result<IAsyncOperation<SoftwareBitmap>>

fn GetSoftwareBitmapConvertedAsync( &self, pixelFormat: BitmapPixelFormat, alphaMode: BitmapAlphaMode, ) -> Result<IAsyncOperation<SoftwareBitmap>>

fn GetSoftwareBitmapTransformedAsync( &self, pixelFormat: BitmapPixelFormat, alphaMode: BitmapAlphaMode, transform: Ref<'_, BitmapTransform>, exifOrientationMode: ExifOrientationMode, colorManagementMode: ColorManagementMode, ) -> Result<IAsyncOperation<SoftwareBitmap>>

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.

Implementors§