Struct mltg_bindings::Windows::Win32::Graphics::Imaging::IWICPalette [−][src]
#[repr(transparent)]pub struct IWICPalette(_);
Implementations
pub unsafe fn InitializePredefined<'a>(
&self,
epalettetype: WICBitmapPaletteType,
faddtransparentcolor: impl IntoParam<'a, BOOL>
) -> Result<()>
pub unsafe fn InitializeFromBitmap<'a>(
&self,
pisurface: impl IntoParam<'a, IWICBitmapSource>,
ccount: u32,
faddtransparentcolor: impl IntoParam<'a, BOOL>
) -> Result<()>
pub unsafe fn InitializeFromPalette<'a>(
&self,
pipalette: impl IntoParam<'a, IWICPalette>
) -> Result<()>
Trait Implementations
Performs the conversion.
Performs the conversion.
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
type DefaultType = Option<T>
Converts from Self::DefaultType
to Result<T>
.
Returns a pointer for setting the object’s value via an ABI call.
Mutably borrows from an owned value. Read more