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

Required Methods§

fn AddListener( &self, listener: Option<&IDWriteFontDownloadListener>, ) -> Result<u32>

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

fn IsEmpty(&self) -> BOOL

fn BeginDownload(&self, context: Option<&IUnknown>) -> Result<()>

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

fn GetGenerationCount(&self) -> u64

Object Safety§

This trait is not object safe.

Implementors§