pub trait IDWriteRemoteFontFileLoader_Impl: Sized + IDWriteFontFileLoader_Impl {
    // Required methods
    fn CreateRemoteStreamFromKey(
        &self,
        fontfilereferencekey: *const c_void,
        fontfilereferencekeysize: u32,
    ) -> Result<IDWriteRemoteFontFileStream>;
    fn GetLocalityFromKey(
        &self,
        fontfilereferencekey: *const c_void,
        fontfilereferencekeysize: u32,
    ) -> Result<DWRITE_LOCALITY>;
    fn CreateFontFileReferenceFromUrl(
        &self,
        factory: Option<&IDWriteFactory>,
        baseurl: &PCWSTR,
        fontfileurl: &PCWSTR,
    ) -> Result<IDWriteFontFile>;
}

Required Methods§

fn CreateRemoteStreamFromKey( &self, fontfilereferencekey: *const c_void, fontfilereferencekeysize: u32, ) -> Result<IDWriteRemoteFontFileStream>

fn GetLocalityFromKey( &self, fontfilereferencekey: *const c_void, fontfilereferencekeysize: u32, ) -> Result<DWRITE_LOCALITY>

fn CreateFontFileReferenceFromUrl( &self, factory: Option<&IDWriteFactory>, baseurl: &PCWSTR, fontfileurl: &PCWSTR, ) -> Result<IDWriteFontFile>

Object Safety§

This trait is not object safe.

Implementors§