Struct windows::Devices::Display::Core::DisplayWireFormat
pub struct DisplayWireFormat(/* private fields */);
Implementations§
§impl DisplayWireFormat
impl DisplayWireFormat
pub fn PixelEncoding(&self) -> Result<DisplayWireFormatPixelEncoding>
pub fn BitsPerChannel(&self) -> Result<i32>
pub fn ColorSpace(&self) -> Result<DisplayWireFormatColorSpace>
pub fn Eotf(&self) -> Result<DisplayWireFormatEotf>
pub fn HdrMetadata(&self) -> Result<DisplayWireFormatHdrMetadata>
pub fn Properties(&self) -> Result<IMapView<GUID, IInspectable>>
pub fn CreateInstance( pixelencoding: DisplayWireFormatPixelEncoding, bitsperchannel: i32, colorspace: DisplayWireFormatColorSpace, eotf: DisplayWireFormatEotf, hdrmetadata: DisplayWireFormatHdrMetadata ) -> Result<DisplayWireFormat>
pub fn CreateWithProperties<P0>( extraproperties: P0, pixelencoding: DisplayWireFormatPixelEncoding, bitsperchannel: i32, colorspace: DisplayWireFormatColorSpace, eotf: DisplayWireFormatEotf, hdrmetadata: DisplayWireFormatHdrMetadata ) -> Result<DisplayWireFormat>
Trait Implementations§
§impl Clone for DisplayWireFormat
impl Clone for DisplayWireFormat
§fn clone(&self) -> DisplayWireFormat
fn clone(&self) -> DisplayWireFormat
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read more§impl Debug for DisplayWireFormat
impl Debug for DisplayWireFormat
§impl From<&DisplayWireFormat> for &IInspectable
impl From<&DisplayWireFormat> for &IInspectable
§fn from(value: &DisplayWireFormat) -> Self
fn from(value: &DisplayWireFormat) -> Self
Converts to this type from the input type.
§impl From<&DisplayWireFormat> for &IUnknown
impl From<&DisplayWireFormat> for &IUnknown
§fn from(value: &DisplayWireFormat) -> Self
fn from(value: &DisplayWireFormat) -> Self
Converts to this type from the input type.
§impl From<DisplayWireFormat> for IInspectable
impl From<DisplayWireFormat> for IInspectable
§fn from(value: DisplayWireFormat) -> Self
fn from(value: DisplayWireFormat) -> Self
Converts to this type from the input type.
§impl From<DisplayWireFormat> for IUnknown
impl From<DisplayWireFormat> for IUnknown
§fn from(value: DisplayWireFormat) -> Self
fn from(value: DisplayWireFormat) -> Self
Converts to this type from the input type.
§impl Interface for DisplayWireFormat
impl Interface for DisplayWireFormat
§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.
§fn cast<T>(&self) -> Result<T, Error>where
T: Interface,
fn cast<T>(&self) -> Result<T, Error>where
T: Interface,
Attempts to cast the current interface to another interface using
QueryInterface
. Read more§impl PartialEq for DisplayWireFormat
impl PartialEq for DisplayWireFormat
§fn eq(&self, other: &DisplayWireFormat) -> bool
fn eq(&self, other: &DisplayWireFormat) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for DisplayWireFormat
impl Send for DisplayWireFormat
impl StructuralPartialEq for DisplayWireFormat
impl Sync for DisplayWireFormat
Auto Trait Implementations§
impl RefUnwindSafe for DisplayWireFormat
impl Unpin for DisplayWireFormat
impl UnwindSafe for DisplayWireFormat
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more