windows::Win32::Globalization

Trait IMLangFontLink_Impl

pub trait IMLangFontLink_Impl: IMLangCodePages_Impl {
    // Required methods
    fn GetFontCodePages(
        &self,
        hdc: HDC,
        hfont: HFONT,
        pdwcodepages: *mut u32,
    ) -> Result<()>;
    fn MapFont(
        &self,
        hdc: HDC,
        dwcodepages: u32,
        hsrcfont: HFONT,
        phdestfont: *mut HFONT,
    ) -> Result<()>;
    fn ReleaseFont(&self, hfont: HFONT) -> Result<()>;
    fn ResetFontMapping(&self) -> Result<()>;
}

Required Methods§

fn GetFontCodePages( &self, hdc: HDC, hfont: HFONT, pdwcodepages: *mut u32, ) -> Result<()>

fn MapFont( &self, hdc: HDC, dwcodepages: u32, hsrcfont: HFONT, phdestfont: *mut HFONT, ) -> Result<()>

fn ReleaseFont(&self, hfont: HFONT) -> Result<()>

fn ResetFontMapping(&self) -> Result<()>

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§