Struct mltg_bindings::Windows::Win32::Graphics::Imaging::IWICPalette [−][src]
#[repr(transparent)]pub struct IWICPalette(_);
Implementations
pub unsafe fn InitializePredefined<'a, Param1: IntoParam<'a, BOOL>>(
&self,
epalettetype: WICBitmapPaletteType,
faddtransparentcolor: Param1
) -> Result<()>
pub unsafe fn InitializeFromBitmap<'a, Param0: IntoParam<'a, IWICBitmapSource>, Param2: IntoParam<'a, BOOL>>(
&self,
pisurface: Param0,
ccount: u32,
faddtransparentcolor: Param2
) -> Result<()>
pub unsafe fn InitializeFromPalette<'a, Param0: IntoParam<'a, IWICPalette>>(
&self,
pipalette: Param0
) -> Result<()>
Trait Implementations
Performs the conversion.
Performs the conversion.
Attempts to cast the current interface to another interface using QueryInterface
.
The name cast
is preferred to query
because there is a WinRT method named query but not one
named cast. Read more
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for IWICPalette
impl !Send for IWICPalette
impl !Sync for IWICPalette
impl Unpin for IWICPalette
impl UnwindSafe for IWICPalette
Blanket Implementations
Mutably borrows from an owned value. Read more