Trait IMFTopologyNode_Impl
pub trait IMFTopologyNode_Impl: IMFAttributes_Impl {
Show 16 methods
// Required methods
fn SetObject(&self, pobject: Ref<'_, IUnknown>) -> Result<()>;
fn GetObject(&self) -> Result<IUnknown>;
fn GetNodeType(&self) -> Result<MF_TOPOLOGY_TYPE>;
fn GetTopoNodeID(&self) -> Result<u64>;
fn SetTopoNodeID(&self, ulltopoid: u64) -> Result<()>;
fn GetInputCount(&self) -> Result<u32>;
fn GetOutputCount(&self) -> Result<u32>;
fn ConnectOutput(
&self,
dwoutputindex: u32,
pdownstreamnode: Ref<'_, IMFTopologyNode>,
dwinputindexondownstreamnode: u32,
) -> Result<()>;
fn DisconnectOutput(&self, dwoutputindex: u32) -> Result<()>;
fn GetInput(
&self,
dwinputindex: u32,
ppupstreamnode: OutRef<'_, IMFTopologyNode>,
pdwoutputindexonupstreamnode: *mut u32,
) -> Result<()>;
fn GetOutput(
&self,
dwoutputindex: u32,
ppdownstreamnode: OutRef<'_, IMFTopologyNode>,
pdwinputindexondownstreamnode: *mut u32,
) -> Result<()>;
fn SetOutputPrefType(
&self,
dwoutputindex: u32,
ptype: Ref<'_, IMFMediaType>,
) -> Result<()>;
fn GetOutputPrefType(&self, dwoutputindex: u32) -> Result<IMFMediaType>;
fn SetInputPrefType(
&self,
dwinputindex: u32,
ptype: Ref<'_, IMFMediaType>,
) -> Result<()>;
fn GetInputPrefType(&self, dwinputindex: u32) -> Result<IMFMediaType>;
fn CloneFrom(&self, pnode: Ref<'_, IMFTopologyNode>) -> Result<()>;
}
Required Methods§
fn SetObject(&self, pobject: Ref<'_, IUnknown>) -> Result<()>
fn GetObject(&self) -> Result<IUnknown>
fn GetNodeType(&self) -> Result<MF_TOPOLOGY_TYPE>
fn GetTopoNodeID(&self) -> Result<u64>
fn SetTopoNodeID(&self, ulltopoid: u64) -> Result<()>
fn GetInputCount(&self) -> Result<u32>
fn GetOutputCount(&self) -> Result<u32>
fn ConnectOutput( &self, dwoutputindex: u32, pdownstreamnode: Ref<'_, IMFTopologyNode>, dwinputindexondownstreamnode: u32, ) -> Result<()>
fn DisconnectOutput(&self, dwoutputindex: u32) -> Result<()>
fn GetInput( &self, dwinputindex: u32, ppupstreamnode: OutRef<'_, IMFTopologyNode>, pdwoutputindexonupstreamnode: *mut u32, ) -> Result<()>
fn GetOutput( &self, dwoutputindex: u32, ppdownstreamnode: OutRef<'_, IMFTopologyNode>, pdwinputindexondownstreamnode: *mut u32, ) -> Result<()>
fn SetOutputPrefType( &self, dwoutputindex: u32, ptype: Ref<'_, IMFMediaType>, ) -> Result<()>
fn GetOutputPrefType(&self, dwoutputindex: u32) -> Result<IMFMediaType>
fn SetInputPrefType( &self, dwinputindex: u32, ptype: Ref<'_, IMFMediaType>, ) -> Result<()>
fn GetInputPrefType(&self, dwinputindex: u32) -> Result<IMFMediaType>
fn CloneFrom(&self, pnode: Ref<'_, IMFTopologyNode>) -> Result<()>
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.