Struct mltg_bindings::Windows::Win32::Graphics::Imaging::IWICColorTransform [−][src]
#[repr(transparent)]pub struct IWICColorTransform(_);
Implementations
pub unsafe fn CopyPalette<'a>(
&self,
pipalette: impl IntoParam<'a, IWICPalette>
) -> Result<()>
pub unsafe fn CopyPixels(
&self,
prc: *const WICRect,
cbstride: u32,
cbbuffersize: u32
) -> Result<u8>
pub unsafe fn Initialize<'a>(
&self,
pibitmapsource: impl IntoParam<'a, IWICBitmapSource>,
picontextsource: impl IntoParam<'a, IWICColorContext>,
picontextdest: impl IntoParam<'a, IWICColorContext>,
pixelfmtdest: *mut Guid
) -> Result<()>
Trait Implementations
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
type Vtable = IWICColorTransform_abi
Returns the vtable for an assumed interface. The name comes from Box::assume_init()
as
it assumes the vtable is implemented by the current interface’s vtable (e.g. a parent interface). Read more
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 IWICColorTransform
impl !Send for IWICColorTransform
impl !Sync for IWICColorTransform
impl Unpin for IWICColorTransform
impl UnwindSafe for IWICColorTransform
Blanket Implementations
Returns a pointer for setting the object’s value via an ABI call.
Casts the ABI representation to a Rust object by taking ownership of the bits.
Mutably borrows from an owned value. Read more