pub trait mf_IMFPresentationDescriptor: mf_IMFAttributes {
// Provided methods
fn Clone(&self) -> HrResult<IMFPresentationDescriptor> { ... }
fn DeselectStream(&self, descriptor_index: u32) -> HrResult<()> { ... }
fn GetStreamDescriptorByIndex(
&self,
index: u32,
) -> HrResult<(bool, IMFStreamDescriptor)> { ... }
fn GetStreamDescriptorCount(&self) -> HrResult<u32> { ... }
fn SelectStream(&self, descriptor_index: u32) -> HrResult<()> { ... }
}
Available on crate features
kernel
and mf
only.Expand description
This trait is enabled with the mf
feature, and provides methods for
IMFPresentationDescriptor
.
Prefer importing this trait through the prelude:
use winsafe::prelude::*;
Provided Methods§
Sourcefn Clone(&self) -> HrResult<IMFPresentationDescriptor>
fn Clone(&self) -> HrResult<IMFPresentationDescriptor>
IMFPresentationDescriptor::Clone
method.
Sourcefn DeselectStream(&self, descriptor_index: u32) -> HrResult<()>
fn DeselectStream(&self, descriptor_index: u32) -> HrResult<()>
Sourcefn GetStreamDescriptorByIndex(
&self,
index: u32,
) -> HrResult<(bool, IMFStreamDescriptor)>
fn GetStreamDescriptorByIndex( &self, index: u32, ) -> HrResult<(bool, IMFStreamDescriptor)>
Sourcefn GetStreamDescriptorCount(&self) -> HrResult<u32>
fn GetStreamDescriptorCount(&self) -> HrResult<u32>
Sourcefn SelectStream(&self, descriptor_index: u32) -> HrResult<()>
fn SelectStream(&self, descriptor_index: u32) -> HrResult<()>
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.