Struct windows::Graphics::Imaging::BitmapBuffer
#[repr(transparent)]pub struct BitmapBuffer(_);
Expand description
Required features: "Graphics_Imaging"
Implementations§
§impl BitmapBuffer
impl BitmapBuffer
pub fn GetPlaneCount(&self) -> Result<i32>
pub fn GetPlaneDescription(&self, index: i32) -> Result<BitmapPlaneDescription>
pub fn CreateReference(&self) -> Result<IMemoryBufferReference>
pub fn CreateReference(&self) -> Result<IMemoryBufferReference>
Required features: "Foundation"
Trait Implementations§
§impl Clone for BitmapBuffer
impl Clone for BitmapBuffer
§impl Debug for BitmapBuffer
impl Debug for BitmapBuffer
§impl From<&BitmapBuffer> for &IInspectable
impl From<&BitmapBuffer> for &IInspectable
§fn from(value: &BitmapBuffer) -> Self
fn from(value: &BitmapBuffer) -> Self
Converts to this type from the input type.
§impl From<&BitmapBuffer> for &IUnknown
impl From<&BitmapBuffer> for &IUnknown
§fn from(value: &BitmapBuffer) -> Self
fn from(value: &BitmapBuffer) -> Self
Converts to this type from the input type.
§impl From<&BitmapBuffer> for IInspectable
impl From<&BitmapBuffer> for IInspectable
§fn from(value: &BitmapBuffer) -> Self
fn from(value: &BitmapBuffer) -> Self
Converts to this type from the input type.
§impl From<&BitmapBuffer> for IUnknown
impl From<&BitmapBuffer> for IUnknown
§fn from(value: &BitmapBuffer) -> Self
fn from(value: &BitmapBuffer) -> Self
Converts to this type from the input type.
§impl From<BitmapBuffer> for IInspectable
impl From<BitmapBuffer> for IInspectable
§fn from(value: BitmapBuffer) -> Self
fn from(value: BitmapBuffer) -> Self
Converts to this type from the input type.
§impl From<BitmapBuffer> for IUnknown
impl From<BitmapBuffer> for IUnknown
§fn from(value: BitmapBuffer) -> Self
fn from(value: BitmapBuffer) -> Self
Converts to this type from the input type.
§impl Interface for BitmapBuffer
impl Interface for BitmapBuffer
§impl PartialEq<BitmapBuffer> for BitmapBuffer
impl PartialEq<BitmapBuffer> for BitmapBuffer
§impl TryFrom<&BitmapBuffer> for IClosable
impl TryFrom<&BitmapBuffer> for IClosable
§impl TryFrom<&BitmapBuffer> for IMemoryBuffer
impl TryFrom<&BitmapBuffer> for IMemoryBuffer
§impl TryFrom<&BitmapBuffer> for InParam<IClosable>
impl TryFrom<&BitmapBuffer> for InParam<IClosable>
§impl TryFrom<&BitmapBuffer> for InParam<IMemoryBuffer>
impl TryFrom<&BitmapBuffer> for InParam<IMemoryBuffer>
§impl TryFrom<BitmapBuffer> for IClosable
impl TryFrom<BitmapBuffer> for IClosable
§impl TryFrom<BitmapBuffer> for IMemoryBuffer
impl TryFrom<BitmapBuffer> for IMemoryBuffer
§impl Vtable for BitmapBuffer
impl Vtable for BitmapBuffer
type Vtable = IBitmapBuffer_Vtbl
§fn as_raw(&self) -> *mut c_void
fn as_raw(&self) -> *mut c_void
Returns the raw COM interface pointer. The resulting pointer continues to be owned by the
Interface
implementation.§fn into_raw(self) -> *mut c_void
fn into_raw(self) -> *mut c_void
Returns the raw COM interface pointer and releases ownership. It the caller’s responsibility to release the COM interface pointer.