Module id

Source
Expand description

Namespaces and ids shared by many crates in Servo.

Macros§

namespace_id 🔒
size_of_test 🔒
Asserts the size of a type at compile time.

Structs§

BlobIndex
BroadcastChannelRouterIndex
BrowsingContextGroupId
BrowsingContextIndex
CookieStoreIndex
DomExceptionIndex
DomMatrixIndex
DomPointIndex
DomQuadIndex
DomRectIndex
HistoryStateIndex
ImageBitmapIndex
Index
A non-zero index, associated with a particular type.
MessagePortIndex
MessagePortRouterIndex
NamespaceIndex
A pipeline-namespaced index associated with a particular type.
OffscreenCanvasIndex
PipelineIndex
PipelineNamespace
Each pipeline ID needs to be unique. However, it also needs to be possible to generate the pipeline ID from an iframe element (this simplifies a lot of other code that makes use of pipeline IDs).
PipelineNamespaceId
PipelineNamespaceInstaller
A per-process installer of pipeline-namespaces.
PipelineNamespaceRequest
Request a pipeline-namespace id from the constellation.
QuotaExceededErrorIndex
ScrollTreeNodeId
An id for a ScrollTreeNode in the ScrollTree. This contains both the index to the node in the tree’s array of nodes as well as the corresponding SpatialId for the SpatialNode in the WebRender display list.
ServiceWorkerIndex
ServiceWorkerRegistrationIndex
WebViewId
ZeroIndex
An attempt to create a new Index value failed because the index value was zero.

Constants§

PIPELINE_NAMESPACE
TEST_BROWSING_CONTEXT_ID
TEST_BROWSING_CONTEXT_INDEX
TEST_NAMESPACE
TEST_PIPELINE_ID
TEST_PIPELINE_INDEX
TEST_WEBVIEW_ID
WEBVIEW_ID

Statics§

PIPELINE_NAMESPACE_INSTALLER 🔒
A per-process unique pipeline-namespace-installer. Accessible via PipelineNamespace.

Traits§

Indexable
A type that implements this trait is expected to be used as part of the NamespaceIndex type.

Type Aliases§

BlobId
BroadcastChannelRouterId
BrowsingContextId
CookieStoreId
DomExceptionId
DomMatrixId
DomPointId
DomQuadId
DomRectId
HistoryStateId
ImageBitmapId
MessagePortId
MessagePortRouterId
OffscreenCanvasId
PipelineId
QuotaExceededErrorId
ServiceWorkerId
ServiceWorkerRegistrationId