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

pub struct Instance {
    // some fields omitted
}

Methods

impl Instance

fn current() -> Instance

fn opt_current() -> Option<Instance>

fn console(&self) -> Console

fn messaging(&self) -> Messaging

fn create_3d_context(&self, share_with: Option<Context3d>, attribs: &[(u32, u32)]) -> Result<Context3d, Code>

fn bind_context<T: ContextResource>(&self, cxt: &T) -> Code

fn request_input_events(&self, classes: PP_InputEvent_Class) -> Code

fn request_filtering_input_events(&self, classes: PP_InputEvent_Class) -> Code

fn clear_input_event_request(&self, classes: PP_InputEvent_Class)

fn create_image(&self, format: Option<Format>, size: Size, init_to_zero: bool) -> Option<ImageData>

fn create_font(&self, desc: &Description) -> Option<Font>

fn create_msg_loop(&self) -> MessageLoop

fn create_url_loader(&self) -> Option<UrlLoader>

fn create_file_system(&self, kind: Kind) -> Option<FileSystem>

Trait Implementations

impl FontFamilies for Instance

fn get_font_families(&self) -> HashSet<String>

Derived Implementations

impl Copy for Instance

impl PartialEq for Instance

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

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

impl Eq for Instance

fn assert_receiver_is_total_eq(&self)

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

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

impl Clone for Instance

fn clone(&self) -> Instance

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