pub struct InitialConstellationState {Show 18 fields
pub embedder_proxy: EmbedderProxy,
pub compositor_proxy: CompositorProxy,
pub devtools_sender: Option<Sender<DevtoolsControlMsg>>,
pub bluetooth_thread: IpcSender<BluetoothRequest>,
pub system_font_service: Arc<SystemFontServiceProxy>,
pub public_resource_threads: ResourceThreads,
pub private_resource_threads: ResourceThreads,
pub public_storage_threads: StorageThreads,
pub private_storage_threads: StorageThreads,
pub time_profiler_chan: ProfilerChan,
pub mem_profiler_chan: ProfilerChan,
pub webrender_external_images: Arc<Mutex<WebRenderExternalImageRegistry>>,
pub webgl_threads: Option<WebGLThreads>,
pub webxr_registry: Option<Registry>,
pub wgpu_image_map: WGPUImageMap,
pub user_content_manager: UserContentManager,
pub privileged_urls: Vec<ServoUrl>,
pub async_runtime: Box<dyn AsyncRuntime>,
}Expand description
State needed to construct a constellation.
Fields§
§embedder_proxy: EmbedderProxyA channel through which messages can be sent to the embedder.
compositor_proxy: CompositorProxyA channel through which messages can be sent to the compositor in-process.
devtools_sender: Option<Sender<DevtoolsControlMsg>>A channel to the developer tools, if applicable.
bluetooth_thread: IpcSender<BluetoothRequest>A channel to the bluetooth thread.
system_font_service: Arc<SystemFontServiceProxy>A proxy to the SystemFontService which manages the list of system fonts.
public_resource_threads: ResourceThreadsA channel to the resource thread.
private_resource_threads: ResourceThreadsA channel to the resource thread.
public_storage_threads: StorageThreadsA channel to the storage thread.
private_storage_threads: StorageThreadsA channel to the storage thread.
time_profiler_chan: ProfilerChanA channel to the time profiler thread.
mem_profiler_chan: ProfilerChanA channel to the memory profiler thread.
webrender_external_images: Arc<Mutex<WebRenderExternalImageRegistry>>WebRender external images
webgl_threads: Option<WebGLThreads>Entry point to create and get channels to a WebGLThread.
webxr_registry: Option<Registry>The XR device registry
wgpu_image_map: WGPUImageMap§user_content_manager: UserContentManagerUser content manager
privileged_urls: Vec<ServoUrl>A list of URLs that can access privileged internal APIs.
async_runtime: Box<dyn AsyncRuntime>The async runtime.
Auto Trait Implementations§
impl Freeze for InitialConstellationState
impl !RefUnwindSafe for InitialConstellationState
impl Send for InitialConstellationState
impl !Sync for InitialConstellationState
impl Unpin for InitialConstellationState
impl !UnwindSafe for InitialConstellationState
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§impl<T> MaybeBoxed<Box<T>> for T
impl<T> MaybeBoxed<Box<T>> for T
Source§fn maybe_boxed(self) -> Box<T>
fn maybe_boxed(self) -> Box<T>
Convert
Source§impl<T> MaybeBoxed<T> for T
impl<T> MaybeBoxed<T> for T
Source§fn maybe_boxed(self) -> T
fn maybe_boxed(self) -> T
Convert