pub trait IDWriteTextAnalysisSource_Impl: Sized {
    // Required methods
    fn GetTextAtPosition(
        &self,
        textposition: u32,
        textstring: *mut *mut u16,
        textlength: *mut u32,
    ) -> Result<()>;
    fn GetTextBeforePosition(
        &self,
        textposition: u32,
        textstring: *mut *mut u16,
        textlength: *mut u32,
    ) -> Result<()>;
    fn GetParagraphReadingDirection(&self) -> DWRITE_READING_DIRECTION;
    fn GetLocaleName(
        &self,
        textposition: u32,
        textlength: *mut u32,
        localename: *mut *mut u16,
    ) -> Result<()>;
    fn GetNumberSubstitution(
        &self,
        textposition: u32,
        textlength: *mut u32,
        numbersubstitution: *mut Option<IDWriteNumberSubstitution>,
    ) -> Result<()>;
}

Required Methods§

fn GetTextAtPosition( &self, textposition: u32, textstring: *mut *mut u16, textlength: *mut u32, ) -> Result<()>

fn GetTextBeforePosition( &self, textposition: u32, textstring: *mut *mut u16, textlength: *mut u32, ) -> Result<()>

fn GetParagraphReadingDirection(&self) -> DWRITE_READING_DIRECTION

fn GetLocaleName( &self, textposition: u32, textlength: *mut u32, localename: *mut *mut u16, ) -> Result<()>

fn GetNumberSubstitution( &self, textposition: u32, textlength: *mut u32, numbersubstitution: *mut Option<IDWriteNumberSubstitution>, ) -> Result<()>

Object Safety§

This trait is not object safe.

Implementors§