Struct windows::Win32::Graphics::Direct3D11::ID3D11VideoContext3
pub struct ID3D11VideoContext3(/* private fields */);
Implementations§
§impl ID3D11VideoContext3
impl ID3D11VideoContext3
pub unsafe fn DecoderBeginFrame1<P0, P1>(
&self,
pdecoder: P0,
pview: P1,
contentkeysize: u32,
pcontentkey: Option<*const c_void>,
numcomponenthistograms: u32,
phistogramoffsets: Option<*const u32>,
pphistogrambuffers: Option<*const Option<ID3D11Buffer>>,
) -> Result<()>where
P0: Param<ID3D11VideoDecoder>,
P1: Param<ID3D11VideoDecoderOutputView>,
pub unsafe fn SubmitDecoderBuffers2<P0>(
&self,
pdecoder: P0,
pbufferdesc: &[D3D11_VIDEO_DECODER_BUFFER_DESC2],
) -> Result<()>where
P0: Param<ID3D11VideoDecoder>,
Methods from Deref<Target = ID3D11VideoContext2>§
pub unsafe fn VideoProcessorSetOutputHDRMetaData<P0>(
&self,
pvideoprocessor: P0,
type: DXGI_HDR_METADATA_TYPE,
size: u32,
phdrmetadata: Option<*const c_void>,
)where
P0: Param<ID3D11VideoProcessor>,
pub unsafe fn VideoProcessorGetOutputHDRMetaData<P0>(
&self,
pvideoprocessor: P0,
ptype: *mut DXGI_HDR_METADATA_TYPE,
size: u32,
pmetadata: Option<*mut c_void>,
)where
P0: Param<ID3D11VideoProcessor>,
pub unsafe fn VideoProcessorSetStreamHDRMetaData<P0>(
&self,
pvideoprocessor: P0,
streamindex: u32,
type: DXGI_HDR_METADATA_TYPE,
size: u32,
phdrmetadata: Option<*const c_void>,
)where
P0: Param<ID3D11VideoProcessor>,
pub unsafe fn VideoProcessorGetStreamHDRMetaData<P0>(
&self,
pvideoprocessor: P0,
streamindex: u32,
ptype: *mut DXGI_HDR_METADATA_TYPE,
size: u32,
pmetadata: Option<*mut c_void>,
)where
P0: Param<ID3D11VideoProcessor>,
Methods from Deref<Target = ID3D11VideoContext1>§
pub unsafe fn SubmitDecoderBuffers1<P0>(
&self,
pdecoder: P0,
pbufferdesc: &[D3D11_VIDEO_DECODER_BUFFER_DESC1],
) -> Result<()>where
P0: Param<ID3D11VideoDecoder>,
pub unsafe fn GetDataForNewHardwareKey<P0>(
&self,
pcryptosession: P0,
pprivatinputdata: &[u8],
) -> Result<u64>where
P0: Param<ID3D11CryptoSession>,
pub unsafe fn CheckCryptoSessionStatus<P0>(
&self,
pcryptosession: P0,
) -> Result<D3D11_CRYPTO_SESSION_STATUS>where
P0: Param<ID3D11CryptoSession>,
pub unsafe fn DecoderEnableDownsampling<P0>(
&self,
pdecoder: P0,
inputcolorspace: DXGI_COLOR_SPACE_TYPE,
poutputdesc: *const D3D11_VIDEO_SAMPLE_DESC,
referenceframecount: u32,
) -> Result<()>where
P0: Param<ID3D11VideoDecoder>,
pub unsafe fn DecoderUpdateDownsampling<P0>(
&self,
pdecoder: P0,
poutputdesc: *const D3D11_VIDEO_SAMPLE_DESC,
) -> Result<()>where
P0: Param<ID3D11VideoDecoder>,
pub unsafe fn VideoProcessorSetOutputColorSpace1<P0>(
&self,
pvideoprocessor: P0,
colorspace: DXGI_COLOR_SPACE_TYPE,
)where
P0: Param<ID3D11VideoProcessor>,
pub unsafe fn VideoProcessorSetOutputShaderUsage<P0, P1>(
&self,
pvideoprocessor: P0,
shaderusage: P1,
)where
P0: Param<ID3D11VideoProcessor>,
P1: Param<BOOL>,
pub unsafe fn VideoProcessorGetOutputColorSpace1<P0>(
&self,
pvideoprocessor: P0,
) -> DXGI_COLOR_SPACE_TYPEwhere
P0: Param<ID3D11VideoProcessor>,
pub unsafe fn VideoProcessorGetOutputShaderUsage<P0>(
&self,
pvideoprocessor: P0,
) -> BOOLwhere
P0: Param<ID3D11VideoProcessor>,
pub unsafe fn VideoProcessorSetStreamColorSpace1<P0>(
&self,
pvideoprocessor: P0,
streamindex: u32,
colorspace: DXGI_COLOR_SPACE_TYPE,
)where
P0: Param<ID3D11VideoProcessor>,
pub unsafe fn VideoProcessorSetStreamMirror<P0, P1, P2, P3>( &self, pvideoprocessor: P0, streamindex: u32, enable: P1, fliphorizontal: P2, flipvertical: P3, )
pub unsafe fn VideoProcessorGetStreamColorSpace1<P0>(
&self,
pvideoprocessor: P0,
streamindex: u32,
) -> DXGI_COLOR_SPACE_TYPEwhere
P0: Param<ID3D11VideoProcessor>,
pub unsafe fn VideoProcessorGetStreamMirror<P0>(
&self,
pvideoprocessor: P0,
streamindex: u32,
penable: *mut BOOL,
pfliphorizontal: *mut BOOL,
pflipvertical: *mut BOOL,
)where
P0: Param<ID3D11VideoProcessor>,
pub unsafe fn VideoProcessorGetBehaviorHints<P0>(
&self,
pvideoprocessor: P0,
outputwidth: u32,
outputheight: u32,
outputformat: DXGI_FORMAT,
pstreams: &[D3D11_VIDEO_PROCESSOR_STREAM_BEHAVIOR_HINT],
) -> Result<u32>where
P0: Param<ID3D11VideoProcessor>,
Methods from Deref<Target = ID3D11VideoContext>§
pub unsafe fn GetDecoderBuffer<P0>(
&self,
pdecoder: P0,
type: D3D11_VIDEO_DECODER_BUFFER_TYPE,
pbuffersize: *mut u32,
ppbuffer: *mut *mut c_void,
) -> Result<()>where
P0: Param<ID3D11VideoDecoder>,
pub unsafe fn ReleaseDecoderBuffer<P0>(
&self,
pdecoder: P0,
type: D3D11_VIDEO_DECODER_BUFFER_TYPE,
) -> Result<()>where
P0: Param<ID3D11VideoDecoder>,
pub unsafe fn DecoderBeginFrame<P0, P1>(
&self,
pdecoder: P0,
pview: P1,
contentkeysize: u32,
pcontentkey: Option<*const c_void>,
) -> Result<()>where
P0: Param<ID3D11VideoDecoder>,
P1: Param<ID3D11VideoDecoderOutputView>,
pub unsafe fn DecoderEndFrame<P0>(&self, pdecoder: P0) -> Result<()>where
P0: Param<ID3D11VideoDecoder>,
pub unsafe fn SubmitDecoderBuffers<P0>(
&self,
pdecoder: P0,
pbufferdesc: &[D3D11_VIDEO_DECODER_BUFFER_DESC],
) -> Result<()>where
P0: Param<ID3D11VideoDecoder>,
pub unsafe fn DecoderExtension<P0>(
&self,
pdecoder: P0,
pextensiondata: *const D3D11_VIDEO_DECODER_EXTENSION,
) -> i32where
P0: Param<ID3D11VideoDecoder>,
pub unsafe fn VideoProcessorSetOutputTargetRect<P0, P1>(
&self,
pvideoprocessor: P0,
enable: P1,
prect: Option<*const RECT>,
)where
P0: Param<ID3D11VideoProcessor>,
P1: Param<BOOL>,
pub unsafe fn VideoProcessorSetOutputBackgroundColor<P0, P1>(
&self,
pvideoprocessor: P0,
ycbcr: P1,
pcolor: *const D3D11_VIDEO_COLOR,
)where
P0: Param<ID3D11VideoProcessor>,
P1: Param<BOOL>,
pub unsafe fn VideoProcessorSetOutputColorSpace<P0>(
&self,
pvideoprocessor: P0,
pcolorspace: *const D3D11_VIDEO_PROCESSOR_COLOR_SPACE,
)where
P0: Param<ID3D11VideoProcessor>,
pub unsafe fn VideoProcessorSetOutputAlphaFillMode<P0>(
&self,
pvideoprocessor: P0,
alphafillmode: D3D11_VIDEO_PROCESSOR_ALPHA_FILL_MODE,
streamindex: u32,
)where
P0: Param<ID3D11VideoProcessor>,
pub unsafe fn VideoProcessorSetOutputConstriction<P0, P1>(
&self,
pvideoprocessor: P0,
enable: P1,
size: SIZE,
)where
P0: Param<ID3D11VideoProcessor>,
P1: Param<BOOL>,
pub unsafe fn VideoProcessorSetOutputStereoMode<P0, P1>(
&self,
pvideoprocessor: P0,
enable: P1,
)where
P0: Param<ID3D11VideoProcessor>,
P1: Param<BOOL>,
pub unsafe fn VideoProcessorSetOutputExtension<P0>(
&self,
pvideoprocessor: P0,
pextensionguid: *const GUID,
datasize: u32,
pdata: *const c_void,
) -> i32where
P0: Param<ID3D11VideoProcessor>,
pub unsafe fn VideoProcessorGetOutputTargetRect<P0>(
&self,
pvideoprocessor: P0,
enabled: *mut BOOL,
prect: *mut RECT,
)where
P0: Param<ID3D11VideoProcessor>,
pub unsafe fn VideoProcessorGetOutputBackgroundColor<P0>(
&self,
pvideoprocessor: P0,
pycbcr: *mut BOOL,
pcolor: *mut D3D11_VIDEO_COLOR,
)where
P0: Param<ID3D11VideoProcessor>,
pub unsafe fn VideoProcessorGetOutputColorSpace<P0>(
&self,
pvideoprocessor: P0,
) -> D3D11_VIDEO_PROCESSOR_COLOR_SPACEwhere
P0: Param<ID3D11VideoProcessor>,
pub unsafe fn VideoProcessorGetOutputAlphaFillMode<P0>(
&self,
pvideoprocessor: P0,
palphafillmode: *mut D3D11_VIDEO_PROCESSOR_ALPHA_FILL_MODE,
pstreamindex: *mut u32,
)where
P0: Param<ID3D11VideoProcessor>,
pub unsafe fn VideoProcessorGetOutputConstriction<P0>(
&self,
pvideoprocessor: P0,
penabled: *mut BOOL,
psize: *mut SIZE,
)where
P0: Param<ID3D11VideoProcessor>,
pub unsafe fn VideoProcessorGetOutputStereoMode<P0>(
&self,
pvideoprocessor: P0,
) -> BOOLwhere
P0: Param<ID3D11VideoProcessor>,
pub unsafe fn VideoProcessorGetOutputExtension<P0>(
&self,
pvideoprocessor: P0,
pextensionguid: *const GUID,
datasize: u32,
pdata: *mut c_void,
) -> i32where
P0: Param<ID3D11VideoProcessor>,
pub unsafe fn VideoProcessorSetStreamFrameFormat<P0>(
&self,
pvideoprocessor: P0,
streamindex: u32,
frameformat: D3D11_VIDEO_FRAME_FORMAT,
)where
P0: Param<ID3D11VideoProcessor>,
pub unsafe fn VideoProcessorSetStreamColorSpace<P0>(
&self,
pvideoprocessor: P0,
streamindex: u32,
pcolorspace: *const D3D11_VIDEO_PROCESSOR_COLOR_SPACE,
)where
P0: Param<ID3D11VideoProcessor>,
pub unsafe fn VideoProcessorSetStreamOutputRate<P0, P1>(
&self,
pvideoprocessor: P0,
streamindex: u32,
outputrate: D3D11_VIDEO_PROCESSOR_OUTPUT_RATE,
repeatframe: P1,
pcustomrate: Option<*const DXGI_RATIONAL>,
)where
P0: Param<ID3D11VideoProcessor>,
P1: Param<BOOL>,
pub unsafe fn VideoProcessorSetStreamSourceRect<P0, P1>(
&self,
pvideoprocessor: P0,
streamindex: u32,
enable: P1,
prect: Option<*const RECT>,
)where
P0: Param<ID3D11VideoProcessor>,
P1: Param<BOOL>,
pub unsafe fn VideoProcessorSetStreamDestRect<P0, P1>(
&self,
pvideoprocessor: P0,
streamindex: u32,
enable: P1,
prect: Option<*const RECT>,
)where
P0: Param<ID3D11VideoProcessor>,
P1: Param<BOOL>,
pub unsafe fn VideoProcessorSetStreamAlpha<P0, P1>(
&self,
pvideoprocessor: P0,
streamindex: u32,
enable: P1,
alpha: f32,
)where
P0: Param<ID3D11VideoProcessor>,
P1: Param<BOOL>,
pub unsafe fn VideoProcessorSetStreamPalette<P0>(
&self,
pvideoprocessor: P0,
streamindex: u32,
pentries: Option<&[u32]>,
)where
P0: Param<ID3D11VideoProcessor>,
pub unsafe fn VideoProcessorSetStreamPixelAspectRatio<P0, P1>(
&self,
pvideoprocessor: P0,
streamindex: u32,
enable: P1,
psourceaspectratio: Option<*const DXGI_RATIONAL>,
pdestinationaspectratio: Option<*const DXGI_RATIONAL>,
)where
P0: Param<ID3D11VideoProcessor>,
P1: Param<BOOL>,
pub unsafe fn VideoProcessorSetStreamLumaKey<P0, P1>(
&self,
pvideoprocessor: P0,
streamindex: u32,
enable: P1,
lower: f32,
upper: f32,
)where
P0: Param<ID3D11VideoProcessor>,
P1: Param<BOOL>,
pub unsafe fn VideoProcessorSetStreamStereoFormat<P0, P1, P2, P3>( &self, pvideoprocessor: P0, streamindex: u32, enable: P1, format: D3D11_VIDEO_PROCESSOR_STEREO_FORMAT, leftviewframe0: P2, baseviewframe0: P3, flipmode: D3D11_VIDEO_PROCESSOR_STEREO_FLIP_MODE, monooffset: i32, )
pub unsafe fn VideoProcessorSetStreamAutoProcessingMode<P0, P1>(
&self,
pvideoprocessor: P0,
streamindex: u32,
enable: P1,
)where
P0: Param<ID3D11VideoProcessor>,
P1: Param<BOOL>,
pub unsafe fn VideoProcessorSetStreamFilter<P0, P1>(
&self,
pvideoprocessor: P0,
streamindex: u32,
filter: D3D11_VIDEO_PROCESSOR_FILTER,
enable: P1,
level: i32,
)where
P0: Param<ID3D11VideoProcessor>,
P1: Param<BOOL>,
pub unsafe fn VideoProcessorSetStreamExtension<P0>(
&self,
pvideoprocessor: P0,
streamindex: u32,
pextensionguid: *const GUID,
datasize: u32,
pdata: *const c_void,
) -> i32where
P0: Param<ID3D11VideoProcessor>,
pub unsafe fn VideoProcessorGetStreamFrameFormat<P0>(
&self,
pvideoprocessor: P0,
streamindex: u32,
) -> D3D11_VIDEO_FRAME_FORMATwhere
P0: Param<ID3D11VideoProcessor>,
pub unsafe fn VideoProcessorGetStreamColorSpace<P0>(
&self,
pvideoprocessor: P0,
streamindex: u32,
) -> D3D11_VIDEO_PROCESSOR_COLOR_SPACEwhere
P0: Param<ID3D11VideoProcessor>,
pub unsafe fn VideoProcessorGetStreamOutputRate<P0>(
&self,
pvideoprocessor: P0,
streamindex: u32,
poutputrate: *mut D3D11_VIDEO_PROCESSOR_OUTPUT_RATE,
prepeatframe: *mut BOOL,
pcustomrate: *mut DXGI_RATIONAL,
)where
P0: Param<ID3D11VideoProcessor>,
pub unsafe fn VideoProcessorGetStreamSourceRect<P0>(
&self,
pvideoprocessor: P0,
streamindex: u32,
penabled: *mut BOOL,
prect: *mut RECT,
)where
P0: Param<ID3D11VideoProcessor>,
pub unsafe fn VideoProcessorGetStreamDestRect<P0>(
&self,
pvideoprocessor: P0,
streamindex: u32,
penabled: *mut BOOL,
prect: *mut RECT,
)where
P0: Param<ID3D11VideoProcessor>,
pub unsafe fn VideoProcessorGetStreamAlpha<P0>(
&self,
pvideoprocessor: P0,
streamindex: u32,
penabled: *mut BOOL,
palpha: *mut f32,
)where
P0: Param<ID3D11VideoProcessor>,
pub unsafe fn VideoProcessorGetStreamPalette<P0>(
&self,
pvideoprocessor: P0,
streamindex: u32,
pentries: &mut [u32],
)where
P0: Param<ID3D11VideoProcessor>,
pub unsafe fn VideoProcessorGetStreamPixelAspectRatio<P0>(
&self,
pvideoprocessor: P0,
streamindex: u32,
penabled: *mut BOOL,
psourceaspectratio: *mut DXGI_RATIONAL,
pdestinationaspectratio: *mut DXGI_RATIONAL,
)where
P0: Param<ID3D11VideoProcessor>,
pub unsafe fn VideoProcessorGetStreamLumaKey<P0>(
&self,
pvideoprocessor: P0,
streamindex: u32,
penabled: *mut BOOL,
plower: *mut f32,
pupper: *mut f32,
)where
P0: Param<ID3D11VideoProcessor>,
pub unsafe fn VideoProcessorGetStreamStereoFormat<P0>(
&self,
pvideoprocessor: P0,
streamindex: u32,
penable: *mut BOOL,
pformat: *mut D3D11_VIDEO_PROCESSOR_STEREO_FORMAT,
pleftviewframe0: *mut BOOL,
pbaseviewframe0: *mut BOOL,
pflipmode: *mut D3D11_VIDEO_PROCESSOR_STEREO_FLIP_MODE,
monooffset: *mut i32,
)where
P0: Param<ID3D11VideoProcessor>,
pub unsafe fn VideoProcessorGetStreamAutoProcessingMode<P0>(
&self,
pvideoprocessor: P0,
streamindex: u32,
) -> BOOLwhere
P0: Param<ID3D11VideoProcessor>,
pub unsafe fn VideoProcessorGetStreamFilter<P0>(
&self,
pvideoprocessor: P0,
streamindex: u32,
filter: D3D11_VIDEO_PROCESSOR_FILTER,
penabled: *mut BOOL,
plevel: *mut i32,
)where
P0: Param<ID3D11VideoProcessor>,
pub unsafe fn VideoProcessorGetStreamExtension<P0>(
&self,
pvideoprocessor: P0,
streamindex: u32,
pextensionguid: *const GUID,
datasize: u32,
pdata: *mut c_void,
) -> i32where
P0: Param<ID3D11VideoProcessor>,
pub unsafe fn VideoProcessorBlt<P0, P1>(
&self,
pvideoprocessor: P0,
pview: P1,
outputframe: u32,
pstreams: &[D3D11_VIDEO_PROCESSOR_STREAM],
) -> Result<()>where
P0: Param<ID3D11VideoProcessor>,
P1: Param<ID3D11VideoProcessorOutputView>,
pub unsafe fn NegotiateCryptoSessionKeyExchange<P0>(
&self,
pcryptosession: P0,
datasize: u32,
pdata: *mut c_void,
) -> Result<()>where
P0: Param<ID3D11CryptoSession>,
pub unsafe fn EncryptionBlt<P0, P1, P2>( &self, pcryptosession: P0, psrcsurface: P1, pdstsurface: P2, ivsize: u32, piv: Option<*mut c_void>, )
pub unsafe fn DecryptionBlt<P0, P1, P2>( &self, pcryptosession: P0, psrcsurface: P1, pdstsurface: P2, pencryptedblockinfo: Option<*const D3D11_ENCRYPTED_BLOCK_INFO>, contentkeysize: u32, pcontentkey: Option<*const c_void>, ivsize: u32, piv: Option<*mut c_void>, )
pub unsafe fn StartSessionKeyRefresh<P0>(
&self,
pcryptosession: P0,
randomnumbersize: u32,
prandomnumber: *mut c_void,
)where
P0: Param<ID3D11CryptoSession>,
pub unsafe fn FinishSessionKeyRefresh<P0>(&self, pcryptosession: P0)where
P0: Param<ID3D11CryptoSession>,
pub unsafe fn GetEncryptionBltKey<P0>(
&self,
pcryptosession: P0,
keysize: u32,
preadbackkey: *mut c_void,
) -> Result<()>where
P0: Param<ID3D11CryptoSession>,
pub unsafe fn NegotiateAuthenticatedChannelKeyExchange<P0>(
&self,
pchannel: P0,
datasize: u32,
pdata: *mut c_void,
) -> Result<()>where
P0: Param<ID3D11AuthenticatedChannel>,
pub unsafe fn QueryAuthenticatedChannel<P0>(
&self,
pchannel: P0,
inputsize: u32,
pinput: *const c_void,
outputsize: u32,
poutput: *mut c_void,
) -> Result<()>where
P0: Param<ID3D11AuthenticatedChannel>,
pub unsafe fn ConfigureAuthenticatedChannel<P0>(
&self,
pchannel: P0,
inputsize: u32,
pinput: *const c_void,
poutput: *mut D3D11_AUTHENTICATED_CONFIGURE_OUTPUT,
) -> Result<()>where
P0: Param<ID3D11AuthenticatedChannel>,
pub unsafe fn VideoProcessorSetStreamRotation<P0, P1>(
&self,
pvideoprocessor: P0,
streamindex: u32,
enable: P1,
rotation: D3D11_VIDEO_PROCESSOR_ROTATION,
)where
P0: Param<ID3D11VideoProcessor>,
P1: Param<BOOL>,
pub unsafe fn VideoProcessorGetStreamRotation<P0>(
&self,
pvideoprocessor: P0,
streamindex: u32,
penable: *mut BOOL,
protation: *mut D3D11_VIDEO_PROCESSOR_ROTATION,
)where
P0: Param<ID3D11VideoProcessor>,
Methods from Deref<Target = ID3D11DeviceChild>§
pub unsafe fn GetDevice(&self) -> Result<ID3D11Device>
pub unsafe fn GetPrivateData( &self, guid: *const GUID, pdatasize: *mut u32, pdata: Option<*mut c_void>, ) -> Result<()>
pub unsafe fn SetPrivateData( &self, guid: *const GUID, datasize: u32, pdata: Option<*const c_void>, ) -> Result<()>
pub unsafe fn SetPrivateDataInterface<P0>(
&self,
guid: *const GUID,
pdata: P0,
) -> Result<()>where
P0: Param<IUnknown>,
Trait Implementations§
§impl CanInto<ID3D11DeviceChild> for ID3D11VideoContext3
impl CanInto<ID3D11DeviceChild> for ID3D11VideoContext3
§impl CanInto<ID3D11VideoContext> for ID3D11VideoContext3
impl CanInto<ID3D11VideoContext> for ID3D11VideoContext3
§impl CanInto<ID3D11VideoContext1> for ID3D11VideoContext3
impl CanInto<ID3D11VideoContext1> for ID3D11VideoContext3
§impl CanInto<ID3D11VideoContext2> for ID3D11VideoContext3
impl CanInto<ID3D11VideoContext2> for ID3D11VideoContext3
§impl CanInto<IUnknown> for ID3D11VideoContext3
impl CanInto<IUnknown> for ID3D11VideoContext3
§impl Clone for ID3D11VideoContext3
impl Clone for ID3D11VideoContext3
§fn clone(&self) -> ID3D11VideoContext3
fn clone(&self) -> ID3D11VideoContext3
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 ID3D11VideoContext3
impl Debug for ID3D11VideoContext3
§impl Deref for ID3D11VideoContext3
impl Deref for ID3D11VideoContext3
§impl From<&ID3D11VideoContext3> for &ID3D11DeviceChild
impl From<&ID3D11VideoContext3> for &ID3D11DeviceChild
§fn from(value: &ID3D11VideoContext3) -> Self
fn from(value: &ID3D11VideoContext3) -> Self
Converts to this type from the input type.
§impl From<&ID3D11VideoContext3> for &ID3D11VideoContext
impl From<&ID3D11VideoContext3> for &ID3D11VideoContext
§fn from(value: &ID3D11VideoContext3) -> Self
fn from(value: &ID3D11VideoContext3) -> Self
Converts to this type from the input type.
§impl From<&ID3D11VideoContext3> for &ID3D11VideoContext1
impl From<&ID3D11VideoContext3> for &ID3D11VideoContext1
§fn from(value: &ID3D11VideoContext3) -> Self
fn from(value: &ID3D11VideoContext3) -> Self
Converts to this type from the input type.
§impl From<&ID3D11VideoContext3> for &ID3D11VideoContext2
impl From<&ID3D11VideoContext3> for &ID3D11VideoContext2
§fn from(value: &ID3D11VideoContext3) -> Self
fn from(value: &ID3D11VideoContext3) -> Self
Converts to this type from the input type.
§impl From<&ID3D11VideoContext3> for &IUnknown
impl From<&ID3D11VideoContext3> for &IUnknown
§fn from(value: &ID3D11VideoContext3) -> Self
fn from(value: &ID3D11VideoContext3) -> Self
Converts to this type from the input type.
§impl From<ID3D11VideoContext3> for ID3D11DeviceChild
impl From<ID3D11VideoContext3> for ID3D11DeviceChild
§fn from(value: ID3D11VideoContext3) -> Self
fn from(value: ID3D11VideoContext3) -> Self
Converts to this type from the input type.
§impl From<ID3D11VideoContext3> for ID3D11VideoContext
impl From<ID3D11VideoContext3> for ID3D11VideoContext
§fn from(value: ID3D11VideoContext3) -> Self
fn from(value: ID3D11VideoContext3) -> Self
Converts to this type from the input type.
§impl From<ID3D11VideoContext3> for ID3D11VideoContext1
impl From<ID3D11VideoContext3> for ID3D11VideoContext1
§fn from(value: ID3D11VideoContext3) -> Self
fn from(value: ID3D11VideoContext3) -> Self
Converts to this type from the input type.
§impl From<ID3D11VideoContext3> for ID3D11VideoContext2
impl From<ID3D11VideoContext3> for ID3D11VideoContext2
§fn from(value: ID3D11VideoContext3) -> Self
fn from(value: ID3D11VideoContext3) -> Self
Converts to this type from the input type.
§impl From<ID3D11VideoContext3> for IUnknown
impl From<ID3D11VideoContext3> for IUnknown
§fn from(value: ID3D11VideoContext3) -> Self
fn from(value: ID3D11VideoContext3) -> Self
Converts to this type from the input type.
§impl Interface for ID3D11VideoContext3
impl Interface for ID3D11VideoContext3
§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§fn cast_to_any<T>(&self) -> Result<&(dyn Any + 'static), Error>where
T: ComObjectInner,
<T as ComObjectInner>::Outer: Any + 'static + IUnknownImpl<Impl = T>,
fn cast_to_any<T>(&self) -> Result<&(dyn Any + 'static), Error>where
T: ComObjectInner,
<T as ComObjectInner>::Outer: Any + 'static + IUnknownImpl<Impl = T>,
This casts the given COM interface to [
&dyn Any
]. Read more§fn is_object<T>(&self) -> boolwhere
T: ComObjectInner,
<T as ComObjectInner>::Outer: Any + 'static + IUnknownImpl<Impl = T>,
fn is_object<T>(&self) -> boolwhere
T: ComObjectInner,
<T as ComObjectInner>::Outer: Any + 'static + IUnknownImpl<Impl = T>,
§fn cast_object_ref<T>(&self) -> Result<&<T as ComObjectInner>::Outer, Error>where
T: ComObjectInner,
<T as ComObjectInner>::Outer: Any + 'static + IUnknownImpl<Impl = T>,
fn cast_object_ref<T>(&self) -> Result<&<T as ComObjectInner>::Outer, Error>where
T: ComObjectInner,
<T as ComObjectInner>::Outer: Any + 'static + IUnknownImpl<Impl = T>,
This casts the given COM interface to [
&dyn Any
]. It returns a reference to the “outer”
object, e.g. &MyApp_Impl
, not the inner &MyApp
object. Read more§fn cast_object<T>(&self) -> Result<ComObject<T>, Error>where
T: ComObjectInner,
<T as ComObjectInner>::Outer: Any + 'static + IUnknownImpl<Impl = T>,
fn cast_object<T>(&self) -> Result<ComObject<T>, Error>where
T: ComObjectInner,
<T as ComObjectInner>::Outer: Any + 'static + IUnknownImpl<Impl = T>,
This casts the given COM interface to [
&dyn Any
]. It returns a reference to the “outer”
object, e.g. MyApp_Impl
, not the inner MyApp
object. Read more§fn downgrade(&self) -> Result<Weak<Self>, Error>
fn downgrade(&self) -> Result<Weak<Self>, Error>
Attempts to create a [
Weak
] reference to this object.§impl PartialEq for ID3D11VideoContext3
impl PartialEq for ID3D11VideoContext3
§fn eq(&self, other: &ID3D11VideoContext3) -> bool
fn eq(&self, other: &ID3D11VideoContext3) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for ID3D11VideoContext3
impl Send for ID3D11VideoContext3
impl StructuralPartialEq for ID3D11VideoContext3
impl Sync for ID3D11VideoContext3
Auto Trait Implementations§
impl Freeze for ID3D11VideoContext3
impl RefUnwindSafe for ID3D11VideoContext3
impl Unpin for ID3D11VideoContext3
impl UnwindSafe for ID3D11VideoContext3
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)