Trait windows::Media::IMediaFrame_Impl

pub trait IMediaFrame_Impl: Sized + IClosable_Impl {
    // Required methods
    fn Type(&self) -> Result<HSTRING>;
    fn IsReadOnly(&self) -> Result<bool>;
    fn SetRelativeTime(
        &self,
        value: Option<&IReference<TimeSpan>>,
    ) -> Result<()>;
    fn RelativeTime(&self) -> Result<IReference<TimeSpan>>;
    fn SetSystemRelativeTime(
        &self,
        value: Option<&IReference<TimeSpan>>,
    ) -> Result<()>;
    fn SystemRelativeTime(&self) -> Result<IReference<TimeSpan>>;
    fn SetDuration(&self, value: Option<&IReference<TimeSpan>>) -> Result<()>;
    fn Duration(&self) -> Result<IReference<TimeSpan>>;
    fn SetIsDiscontinuous(&self, value: bool) -> Result<()>;
    fn IsDiscontinuous(&self) -> Result<bool>;
    fn ExtendedProperties(&self) -> Result<IPropertySet>;
}

Required Methods§

fn Type(&self) -> Result<HSTRING>

fn IsReadOnly(&self) -> Result<bool>

fn SetRelativeTime(&self, value: Option<&IReference<TimeSpan>>) -> Result<()>

fn RelativeTime(&self) -> Result<IReference<TimeSpan>>

fn SetSystemRelativeTime( &self, value: Option<&IReference<TimeSpan>>, ) -> Result<()>

fn SystemRelativeTime(&self) -> Result<IReference<TimeSpan>>

fn SetDuration(&self, value: Option<&IReference<TimeSpan>>) -> Result<()>

fn Duration(&self) -> Result<IReference<TimeSpan>>

fn SetIsDiscontinuous(&self, value: bool) -> Result<()>

fn IsDiscontinuous(&self) -> Result<bool>

fn ExtendedProperties(&self) -> Result<IPropertySet>

Object Safety§

This trait is not object safe.

Implementors§