Struct azul_webrender_api::DocumentId [−][src]
#[repr(C)]pub struct DocumentId { pub namespace_id: IdNamespace, pub id: u32, }
Expand description
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
Trait Implementations
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Measure the heap usage of all descendant heap-allocated structures, but not the space taken up by the value itself. Read more
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for DocumentId
impl Send for DocumentId
impl Sync for DocumentId
impl Unpin for DocumentId
impl UnwindSafe for DocumentId
Blanket Implementations
Mutably borrows from an owned value. Read more