Struct constellation::InitialConstellationState
source · 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 time_profiler_chan: ProfilerChan,
pub mem_profiler_chan: ProfilerChan,
pub webrender_document: DocumentId,
pub webrender_api_sender: RenderApiSender,
pub webrender_external_images: Arc<Mutex<WebrenderExternalImageRegistry>>,
pub webgl_threads: Option<WebGLThreads>,
pub webxr_registry: Option<Registry>,
pub glplayer_threads: Option<GLPlayerThreads>,
pub player_context: WindowGLContext,
pub user_agent: Cow<'static, str>,
pub wgpu_image_map: WGPUImageMap,
}
Expand description
State needed to construct a constellation.
Fields§
§embedder_proxy: EmbedderProxy
A channel through which messages can be sent to the embedder.
compositor_proxy: CompositorProxy
A 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: ResourceThreads
A channel to the resource thread.
private_resource_threads: ResourceThreads
A channel to the resource thread.
time_profiler_chan: ProfilerChan
A channel to the time profiler thread.
mem_profiler_chan: ProfilerChan
A channel to the memory profiler thread.
webrender_document: DocumentId
Webrender document ID.
webrender_api_sender: RenderApiSender
Webrender API.
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
glplayer_threads: Option<GLPlayerThreads>
§player_context: WindowGLContext
Application window’s GL Context for Media player
user_agent: Cow<'static, str>
User agent string to report in network requests.
wgpu_image_map: WGPUImageMap
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