Enum webrender_api::ApiMsg [] [src]

pub enum ApiMsg {
    UpdateResources(ResourceUpdates),
    GetGlyphDimensions(FontInstanceKeyVec<GlyphKey>, MsgSender<Vec<Option<GlyphDimensions>>>),
    GetGlyphIndices(FontKeyStringMsgSender<Vec<Option<u32>>>),
    CloneApi(MsgSender<IdNamespace>),
    AddDocument(DocumentIdDeviceUintSizeDocumentLayer),
    UpdateDocument(DocumentIdVec<DocumentMsg>),
    DeleteDocument(DocumentId),
    ExternalEvent(ExternalEvent),
    ClearNamespace(IdNamespace),
    MemoryPressure,
    DebugCommand(DebugCommand),
    ShutDown,
}

Variants

Add/remove/update images and fonts.

Gets the glyph dimensions

Gets the glyph indices from a string

Adds a new document namespace.

Adds a new document with given initial size.

A message targeted at a particular document.

Deletes an existing document.

An opaque handle that must be passed to the render notifier. It is used by Gecko to forward gecko-specific messages to the render thread preserving the ordering within the other messages.

Removes all resources associated with a namespace.

Flush from the caches anything that isn't necessary, to free some memory.

Change debugging options.

Trait Implementations

impl Clone for ApiMsg
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Debug for ApiMsg
[src]

[src]

Formats the value using the given formatter. Read more