Struct servo::Servo[][src]

pub struct Servo<Window: WindowMethods + 'static> {
    compositor: IOCompositor<Window>,
    constellation_chan: Sender<ConstellationMsg>,
    embedder_receiver: EmbedderReceiver,
    embedder_events: Vec<(Option<BrowserId>, EmbedderMsg)>,

The in-process interface to Servo.

It does everything necessary to render the web, primarily orchestrating the interaction between JavaScript, CSS layout, rendering, and the client window.

Clients create a Servo instance for a given reference-counted type implementing WindowMethods, which is the bridge to whatever application Servo is embedded in. Clients then create an event loop to pump messages between the embedding application and various browser components.



impl<Window> Servo<Window> where
    Window: WindowMethods + 'static, 

Important traits for Vec<u8>

Auto Trait Implementations

impl<Window> !Send for Servo<Window>

impl<Window> !Sync for Servo<Window>