Struct servo::embedder::EmbedderCallbacks[][src]

pub struct EmbedderCallbacks {
    event_loop_waker: Box<dyn EventLoopWaker>,
    xr_discovery: Option<GlWindowDiscovery>,
}

Fields

event_loop_waker: Box<dyn EventLoopWaker>xr_discovery: Option<GlWindowDiscovery>

Implementations

Trait Implementations

Returns a thread-safe object to wake up the window’s event loop.

Register services with a WebXR Registry.

Returns the user agent string to report in network requests.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

Convert

Convert

The alignment of pointer.

The type for initializers.

Initializes a with the given initializer. Read more

Dereferences the given pointer. Read more

Mutably dereferences the given pointer. Read more

Drops the object pointed to by the given pointer. Read more

Should always be Self

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.