Enum servo::events_loop::EventLoop[][src]

enum EventLoop {
    Winit(Option<EventLoop<ServoEvent>>),
    Headless(Arc<(Mutex<bool>, Condvar)>),
}

Variants

Winit

A real Winit windowing event loop.

Tuple Fields of Winit

0: Option<EventLoop<ServoEvent>>
Headless

A fake event loop which contains a signalling flag used to ensure that pending events get processed in a timely fashion, and a condition variable to allow waiting on that flag changing state.

Tuple Fields of Headless

0: Arc<(Mutex<bool>, Condvar)>

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.