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

pub struct Struct_PPB_VarArrayBuffer_1_0 {
    pub Create: Option< extern "C" fn(size_in_bytes: uint32_t) -> Struct_PP_Var>,
    pub ByteLength: Option< extern "C" fn(array: Struct_PP_Var, byte_length: *mut uint32_t) -> PP_Bool>,
    pub Map: Option< extern "C" fn(array: Struct_PP_Var) -> *mut c_void>,
    pub Unmap: Option< extern "C" fn(array: Struct_PP_Var)>,
}

Fields

Create
ByteLength
Map
Unmap

Trait Implementations

impl Default for Struct_PPB_VarArrayBuffer_1_0

fn default() -> Struct_PPB_VarArrayBuffer_1_0

impl VarArrayBufferIf for Struct_PPB_VarArrayBuffer_1_0

fn create(&self, len: usize) -> Struct_PP_Var

fn byte_len(&self, var: &Struct_PP_Var) -> Option<usize>

fn map(&self, var: &Struct_PP_Var) -> *mut c_void

fn unmap(&self, var: &Struct_PP_Var)

Derived Implementations

impl Copy for Struct_PPB_VarArrayBuffer_1_0