windows::Win32::Media::DirectShow::Tv

Trait IMSVidDevice_Impl

pub trait IMSVidDevice_Impl: IDispatch_Impl {
    // Required methods
    fn Name(&self) -> Result<BSTR>;
    fn Status(&self) -> Result<i32>;
    fn SetPower(&self, power: VARIANT_BOOL) -> Result<()>;
    fn Power(&self) -> Result<VARIANT_BOOL>;
    fn Category(&self) -> Result<BSTR>;
    fn ClassID(&self) -> Result<BSTR>;
    fn _Category(&self) -> Result<GUID>;
    fn _ClassID(&self) -> Result<GUID>;
    fn IsEqualDevice(
        &self,
        device: Ref<'_, IMSVidDevice>,
    ) -> Result<VARIANT_BOOL>;
}

Required Methods§

fn Name(&self) -> Result<BSTR>

fn Status(&self) -> Result<i32>

fn SetPower(&self, power: VARIANT_BOOL) -> Result<()>

fn Power(&self) -> Result<VARIANT_BOOL>

fn Category(&self) -> Result<BSTR>

fn ClassID(&self) -> Result<BSTR>

fn _Category(&self) -> Result<GUID>

fn _ClassID(&self) -> Result<GUID>

fn IsEqualDevice(&self, device: Ref<'_, IMSVidDevice>) -> Result<VARIANT_BOOL>

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.

Implementors§