Struct servo::app::App[][src]

pub struct App {
    events_loop: Rc<RefCell<EventsLoop>>,
    servo: RefCell<Servo<dyn WindowPortsMethods>>,
    browser: RefCell<Browser<dyn WindowPortsMethods>>,
    event_queue: RefCell<Vec<WindowEvent>>,
    suspended: Cell<bool>,


events_loop: Rc<RefCell<EventsLoop>>servo: RefCell<Servo<dyn WindowPortsMethods>>browser: RefCell<Browser<dyn WindowPortsMethods>>event_queue: RefCell<Vec<WindowEvent>>suspended: Cell<bool>


impl App[src]

pub fn run(
    no_native_titlebar: bool,
    device_pixels_per_px: Option<f32>,
    user_agent: Option<String>

fn get_events(&self) -> Vec<WindowEvent>[src]

fn winit_event_to_servo_event(&self, event: Event) -> ControlFlow[src]

fn run_loop(self)[src]

fn handle_events(&self) -> bool[src]

Auto Trait Implementations

impl !RefUnwindSafe for App

impl !Send for App

impl !Sync for App

impl Unpin for App

impl !UnwindSafe for App

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized

impl<T> Borrow<T> for T where
    T: ?Sized

impl<T> BorrowMut<T> for T where
    T: ?Sized

impl<T> Erased for T[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 

impl<T> MaybeBoxed<Box<T, Global>> for T[src]

impl<T> MaybeBoxed<T> for T[src]

impl<T> Pointable for T[src]

type Init = T

The type for initializers.

impl<T> Same<T> for T[src]

type Output = T

Should always be Self

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,