Struct mltg_bindings::Windows::Win32::Graphics::Imaging::IWICBitmapFrameEncode [−][src]
#[repr(transparent)]pub struct IWICBitmapFrameEncode(_);
Implementations
pub unsafe fn Initialize<'a>(
&self,
piencoderoptions: impl IntoParam<'a, IPropertyBag2>
) -> 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 WritePixels(
&self,
linecount: u32,
cbstride: u32,
cbbuffersize: u32,
pbpixels: *mut u8
) -> Result<()>
pub unsafe fn WriteSource<'a>(
&self,
pibitmapsource: impl IntoParam<'a, IWICBitmapSource>,
prc: *mut WICRect
) -> Result<()>
Trait Implementations
Performs the conversion.
Performs the conversion.
type Vtable = IWICBitmapFrameEncode_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 IWICBitmapFrameEncode
impl !Send for IWICBitmapFrameEncode
impl !Sync for IWICBitmapFrameEncode
impl Unpin for IWICBitmapFrameEncode
impl UnwindSafe for IWICBitmapFrameEncode
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