Struct ppapi::MessageLoopExperimental [-]  [+] [src]

pub struct MessageLoop(_);

Methods

impl MessageLoop

fn new(res: PP_Resource) -> MessageLoop

fn new_bumped(res: PP_Resource) -> MessageLoop

impl MessageLoop

fn get_main_loop() -> MessageLoop

fn is_attached() -> bool

fn current() -> Option<MessageLoop>

fn attach_to_current_thread(&self) -> Code

fn run_loop(&self) -> Code

Blocking

fn post_work<T: Callback>(&self, work: T, delay: i64) -> Code

fn post_to_self<T: Callback>(work: T, delay: i64) -> Code

fn pause_loop(&self) -> Code

fn shutdown(&self) -> Code

Trait Implementations

impl Send for MessageLoop

impl Resource for MessageLoop

fn unwrap(&self) -> PP_Resource

fn type_of(&self) -> ResourceType

impl ToOption<PP_Resource> for MessageLoop

fn to_option(from: &PP_Resource) -> Option<MessageLoop>

impl Clone for MessageLoop

fn clone(&self) -> MessageLoop

fn clone_from(&mut self, source: &Self)

impl Drop for MessageLoop

fn drop(&mut self)

Derived Implementations

impl Show for MessageLoop

fn fmt(&self, __arg_0: &mut Formatter) -> Result

impl PartialEq for MessageLoop

fn eq(&self, __arg_0: &MessageLoop) -> bool

fn ne(&self, __arg_0: &MessageLoop) -> bool

impl Eq for MessageLoop

fn assert_receiver_is_total_eq(&self)

impl<__S: Writer + Hasher> Hash<__S> for MessageLoop

fn hash(&self, __arg_0: &mut __S)