[][src]Struct azul_webrender_api::DocumentId

#[repr(C)]pub struct DocumentId {
    pub namespace_id: IdNamespace,
    pub id: u32,
}

A key uniquely identifying a WebRender document.

Instances can manage one or several documents (using the same render backend thread). Each document will internally correspond to a single scene, and scenes are made of one or several pipelines.

Fields

namespace_id: IdNamespace
id: u32

Implementations

impl DocumentId[src]

pub fn new(namespace_id: IdNamespace, id: u32) -> Self[src]

pub const INVALID: DocumentId[src]

Trait Implementations

impl Clone for DocumentId[src]

impl Copy for DocumentId[src]

impl Debug for DocumentId[src]

impl<'de> Deserialize<'de> for DocumentId[src]

impl Eq for DocumentId[src]

impl Hash for DocumentId[src]

impl MallocSizeOf for DocumentId[src]

impl PartialEq<DocumentId> for DocumentId[src]

impl Peek for DocumentId[src]

impl Poke for DocumentId[src]

impl Serialize for DocumentId[src]

impl StructuralEq for DocumentId[src]

impl StructuralPartialEq for DocumentId[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.