windows::Win32::Media::MediaFoundation

Trait IMFTimedTextRegion_Impl

pub trait IMFTimedTextRegion_Impl: IUnknownImpl {
    // Required methods
    fn GetName(&self) -> Result<PWSTR>;
    fn GetPosition(
        &self,
        px: *mut f64,
        py: *mut f64,
        unittype: *mut MF_TIMED_TEXT_UNIT_TYPE,
    ) -> Result<()>;
    fn GetExtent(
        &self,
        pwidth: *mut f64,
        pheight: *mut f64,
        unittype: *mut MF_TIMED_TEXT_UNIT_TYPE,
    ) -> Result<()>;
    fn GetBackgroundColor(&self) -> Result<MFARGB>;
    fn GetWritingMode(&self) -> Result<MF_TIMED_TEXT_WRITING_MODE>;
    fn GetDisplayAlignment(&self) -> Result<MF_TIMED_TEXT_DISPLAY_ALIGNMENT>;
    fn GetLineHeight(
        &self,
        plineheight: *mut f64,
        unittype: *mut MF_TIMED_TEXT_UNIT_TYPE,
    ) -> Result<()>;
    fn GetClipOverflow(&self) -> Result<BOOL>;
    fn GetPadding(
        &self,
        before: *mut f64,
        start: *mut f64,
        after: *mut f64,
        end: *mut f64,
        unittype: *mut MF_TIMED_TEXT_UNIT_TYPE,
    ) -> Result<()>;
    fn GetWrap(&self) -> Result<BOOL>;
    fn GetZIndex(&self) -> Result<i32>;
    fn GetScrollMode(&self) -> Result<MF_TIMED_TEXT_SCROLL_MODE>;
}

Required Methods§

fn GetName(&self) -> Result<PWSTR>

fn GetPosition( &self, px: *mut f64, py: *mut f64, unittype: *mut MF_TIMED_TEXT_UNIT_TYPE, ) -> Result<()>

fn GetExtent( &self, pwidth: *mut f64, pheight: *mut f64, unittype: *mut MF_TIMED_TEXT_UNIT_TYPE, ) -> Result<()>

fn GetBackgroundColor(&self) -> Result<MFARGB>

fn GetWritingMode(&self) -> Result<MF_TIMED_TEXT_WRITING_MODE>

fn GetDisplayAlignment(&self) -> Result<MF_TIMED_TEXT_DISPLAY_ALIGNMENT>

fn GetLineHeight( &self, plineheight: *mut f64, unittype: *mut MF_TIMED_TEXT_UNIT_TYPE, ) -> Result<()>

fn GetClipOverflow(&self) -> Result<BOOL>

fn GetPadding( &self, before: *mut f64, start: *mut f64, after: *mut f64, end: *mut f64, unittype: *mut MF_TIMED_TEXT_UNIT_TYPE, ) -> Result<()>

fn GetWrap(&self) -> Result<BOOL>

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

fn GetScrollMode(&self) -> Result<MF_TIMED_TEXT_SCROLL_MODE>

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§