Struct ppapi::ffi::Struct_PPB_Var_1_2Experimental [-]  [+] [src]

pub struct Struct_PPB_Var_1_2 {
    pub AddRef: Option< extern "C" fn(var: Struct_PP_Var)>,
    pub Release: Option< extern "C" fn(var: Struct_PP_Var)>,
    pub VarFromUtf8: Option< extern "C" fn(data: *const c_char, len: uint32_t) -> Struct_PP_Var>,
    pub VarToUtf8: Option< extern "C" fn(var: Struct_PP_Var, len: *mut uint32_t) -> *const c_char>,
    pub VarToResource: Option< extern "C" fn(var: Struct_PP_Var) -> PP_Resource>,
    pub VarFromResource: Option< extern "C" fn(resource: PP_Resource) -> Struct_PP_Var>,
}

Fields

AddRef
Release
VarFromUtf8
VarToUtf8
VarToResource
VarFromResource

Trait Implementations

impl Default for Struct_PPB_Var_1_2

fn default() -> Struct_PPB_Var_1_2

impl VarIf for Struct_PPB_Var_1_2

fn add_ref(&self, var: &Struct_PP_Var)

fn remove_ref(&self, var: Struct_PP_Var)

fn var_from_utf8(&self, string: &str) -> Struct_PP_Var

fn var_to_utf8(&self, string: &Struct_PP_Var) -> String

Derived Implementations

impl Copy for Struct_PPB_Var_1_2