windows::Win32::Graphics::DirectWrite

Trait IDWriteFontDownloadQueue_Impl

pub trait IDWriteFontDownloadQueue_Impl: IUnknownImpl {
    // Required methods
    fn AddListener(
        &self,
        listener: Ref<'_, IDWriteFontDownloadListener>,
    ) -> Result<u32>;
    fn RemoveListener(&self, token: u32) -> Result<()>;
    fn IsEmpty(&self) -> BOOL;
    fn BeginDownload(&self, context: Ref<'_, IUnknown>) -> Result<()>;
    fn CancelDownload(&self) -> Result<()>;
    fn GetGenerationCount(&self) -> u64;
}

Required Methods§

fn AddListener( &self, listener: Ref<'_, IDWriteFontDownloadListener>, ) -> Result<u32>

fn RemoveListener(&self, token: u32) -> Result<()>

fn IsEmpty(&self) -> BOOL

fn BeginDownload(&self, context: Ref<'_, IUnknown>) -> Result<()>

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

fn GetGenerationCount(&self) -> u64

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§