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

pub struct Struct_PPB_VarArray_1_0 {
    pub Create: Option< extern "C" fn() -> Struct_PP_Var>,
    pub Get: Option< extern "C" fn(array: Struct_PP_Var, index: uint32_t) -> Struct_PP_Var>,
    pub Set: Option< extern "C" fn(array: Struct_PP_Var, index: uint32_t, value: Struct_PP_Var) -> PP_Bool>,
    pub GetLength: Option< extern "C" fn(array: Struct_PP_Var) -> uint32_t>,
    pub SetLength: Option< extern "C" fn(array: Struct_PP_Var, length: uint32_t) -> PP_Bool>,
}

Fields

Create
Get
Set
GetLength
SetLength

Trait Implementations

impl Default for Struct_PPB_VarArray_1_0

fn default() -> Struct_PPB_VarArray_1_0

impl VarArrayIf for Struct_PPB_VarArray_1_0

fn create(&self) -> Struct_PP_Var

fn get(&self, array: &Struct_PP_Var, index: uint32_t) -> Struct_PP_Var

fn set(&self, array: &Struct_PP_Var, index: uint32_t, value: &Struct_PP_Var) -> bool

fn get_len(&self, array: &Struct_PP_Var) -> uint32_t

fn set_len(&self, array: &Struct_PP_Var, new_len: uint32_t) -> bool

Derived Implementations

impl Copy for Struct_PPB_VarArray_1_0