Struct mltg_bindings::Windows::Win32::Graphics::Imaging::IWICBitmapEncoder [−][src]
#[repr(transparent)]pub struct IWICBitmapEncoder(_);
Implementations
pub unsafe fn Initialize<'a>(
&self,
pistream: impl IntoParam<'a, IStream>,
cacheoption: WICBitmapEncoderCacheOption
) -> Result<()>
pub unsafe fn SetColorContexts(
&self,
ccount: u32,
ppicolorcontext: *mut Option<IWICColorContext>
) -> Result<()>
pub unsafe fn SetThumbnail<'a>(
&self,
pithumbnail: impl IntoParam<'a, IWICBitmapSource>
) -> Result<()>
pub unsafe fn SetPreview<'a>(
&self,
pipreview: impl IntoParam<'a, IWICBitmapSource>
) -> Result<()>
pub unsafe fn CreateNewFrame(
&self,
ppiframeencode: *mut Option<IWICBitmapFrameEncode>,
ppiencoderoptions: *mut Option<IPropertyBag2>
) -> Result<()>
Trait Implementations
Performs the conversion.
Performs the conversion.
type Vtable = IWICBitmapEncoder_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 IWICBitmapEncoder
impl !Send for IWICBitmapEncoder
impl !Sync for IWICBitmapEncoder
impl Unpin for IWICBitmapEncoder
impl UnwindSafe for IWICBitmapEncoder
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