pub trait MessageLoopIf {
fn create(&self, instance: &PP_Instance) -> PP_Resource;
fn get_for_main_thread(&self) -> PP_Resource;
fn get_current(&self) -> Option<PP_Resource>;
fn attach_to_current_thread(&self, msg_loop: &PP_Resource) -> int32_t;
fn run(&self, msg_loop: &PP_Resource) -> int32_t;
fn post_work(&self, to_loop: &PP_Resource, callback: Struct_PP_CompletionCallback, delay_ms: int64_t) -> int32_t;
fn post_quit(&self, msg_loop: &PP_Resource, full: bool) -> int32_t;
}
Required Methods
Implementors
Keyboard shortcuts
- ?
- Show this help dialog
- S
- Focus the search field
- ⇤
- Move up in search results
- ⇥
- Move down in search results
- ⏎
- Go to active search result
Search tricks
Prefix searches with a type followed by a colon (e.g.
fn:
) to restrict the search to a given type.
Accepted types are: fn
, mod
,
struct
, enum
,
trait
, typedef
(or
tdef
).