[−][src]Enum azul_webrender_api::ApiMsg
Message sent by the RenderApi
to the render backend thread.
Variants
UpdateResources(Vec<ResourceUpdate>)
Add/remove/update images and fonts.
GetGlyphDimensions(FontInstanceKey, Vec<GlyphIndex>, Sender<Vec<Option<GlyphDimensions>>>)
Gets the glyph dimensions
Gets the glyph indices from a string
CloneApi(Sender<IdNamespace>)
Adds a new document namespace.
CloneApiByClient(IdNamespace)
Adds a new document namespace.
AddDocument(DocumentId, DeviceIntSize, DocumentLayer)
Adds a new document with given initial size.
UpdateDocuments(Vec<DocumentId>, Vec<TransactionMsg>)
A message targeted at a particular document.
DeleteDocument(DocumentId)
Deletes an existing document.
ExternalEvent(ExternalEvent)
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.
ClearNamespace(IdNamespace)
Removes all resources associated with a namespace.
Flush from the caches anything that isn't necessary, to free some memory.
ReportMemory(Sender<Box<MemoryReport>>)
Collects a memory report.
DebugCommand(DebugCommand)
Change debugging options.
Wakes the render backend's event loop up. Needed when an event is communicated through another channel.
See RenderApi::wake_scene_builder
.
Block until a round-trip to the scene builder thread has completed. This ensures that any transactions (including ones deferred to the scene builder thread) have been processed.
Shut the WebRender instance down.
Trait Implementations
impl Clone for ApiMsg
[src]
impl Debug for ApiMsg
[src]
impl<'de> Deserialize<'de> for ApiMsg
[src]
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]
__D: Deserializer<'de>,
impl Serialize for ApiMsg
[src]
Auto Trait Implementations
impl !RefUnwindSafe for ApiMsg
impl Send for ApiMsg
impl !Sync for ApiMsg
impl Unpin for ApiMsg
impl !UnwindSafe for ApiMsg
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> DeserializeOwned for T where
T: for<'de> Deserialize<'de>,
[src]
T: for<'de> Deserialize<'de>,
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,