Trait winsafe::prelude::mf_IMFTopologyNode

source ·
pub trait mf_IMFTopologyNode: mf_IMFAttributes {
    // Provided methods
    fn CloneFrom(&self, node: &impl mf_IMFTopologyNode) -> HrResult<()> { ... }
    fn ConnectOutput(
        &self,
        output_index: u32,
        downstream_node: &impl mf_IMFTopologyNode,
        input_index_on_downstream_node: u32
    ) -> HrResult<()> { ... }
    fn DisconnectOutput(&self, output_index: u32) -> HrResult<()> { ... }
    fn GetInput(&self, input_index: u32) -> HrResult<(IMFTopologyNode, u32)> { ... }
    fn GetInputCount(&self) -> HrResult<u32> { ... }
    fn GetNodeType(&self) -> HrResult<MF_TOPOLOGY> { ... }
    fn GetObject<T>(&self) -> HrResult<T>
       where T: ole_IUnknown { ... }
    fn GetOutput(&self, output_index: u32) -> HrResult<(IMFTopologyNode, u32)> { ... }
    fn GetOutputCount(&self) -> HrResult<u32> { ... }
    fn GetTopoNodeID(&self) -> HrResult<u64> { ... }
    fn SetObject(&self, object: &impl ole_IUnknown) -> HrResult<()> { ... }
    fn SetTopoNodeID(&self, topo_id: u64) -> HrResult<()> { ... }
}
Available on crate features kernel and mf only.
Expand description

This trait is enabled with the mf feature, and provides methods for IMFTopologyNode.

Prefer importing this trait through the prelude:

use winsafe::prelude::*;

Provided Methods§

source

fn CloneFrom(&self, node: &impl mf_IMFTopologyNode) -> HrResult<()>

source

fn ConnectOutput( &self, output_index: u32, downstream_node: &impl mf_IMFTopologyNode, input_index_on_downstream_node: u32 ) -> HrResult<()>

source

fn DisconnectOutput(&self, output_index: u32) -> HrResult<()>

source

fn GetInput(&self, input_index: u32) -> HrResult<(IMFTopologyNode, u32)>

IMFTopologyNode::GetInput method.

Returns the node and the index of the output stream that is connected to this node’s input stream.

source

fn GetInputCount(&self) -> HrResult<u32>

source

fn GetNodeType(&self) -> HrResult<MF_TOPOLOGY>

source

fn GetObject<T>(&self) -> HrResult<T>
where T: ole_IUnknown,

source

fn GetOutput(&self, output_index: u32) -> HrResult<(IMFTopologyNode, u32)>

IMFTopologyNode::GetOutput method.

Returns the node and the index of the input stream that is connected to this node’s output stream.

source

fn GetOutputCount(&self) -> HrResult<u32>

source

fn GetTopoNodeID(&self) -> HrResult<u64>

source

fn SetObject(&self, object: &impl ole_IUnknown) -> HrResult<()>

source

fn SetTopoNodeID(&self, topo_id: u64) -> HrResult<()>

Object Safety§

This trait is not object safe.

Implementors§