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

pub struct Struct_PPB_ImageData_1_0 {
    pub GetNativeImageDataFormat: Option< extern "C" fn() -> PP_ImageDataFormat>,
    pub IsImageDataFormatSupported: Option< extern "C" fn(format: PP_ImageDataFormat) -> PP_Bool>,
    pub Create: Option< extern "C" fn(instance: PP_Instance, format: PP_ImageDataFormat, size: *const Struct_PP_Size, init_to_zero: PP_Bool) -> PP_Resource>,
    pub IsImageData: Option< extern "C" fn(image_data: PP_Resource) -> PP_Bool>,
    pub Describe: Option< extern "C" fn(image_data: PP_Resource, desc: *mut Struct_PP_ImageDataDesc) -> PP_Bool>,
    pub Map: Option< extern "C" fn(image_data: PP_Resource) -> *mut c_void>,
    pub Unmap: Option< extern "C" fn(image_data: PP_Resource)>,
}

Fields

GetNativeImageDataFormat
IsImageDataFormatSupported
Create
IsImageData
Describe
Map
Unmap

Trait Implementations

impl Default for Struct_PPB_ImageData_1_0

fn default() -> Struct_PPB_ImageData_1_0

impl ImageDataIf for Struct_PPB_ImageData_1_0

fn native_image_data_format(&self) -> PP_ImageDataFormat

fn is_image_data_format_supported(&self, format: PP_ImageDataFormat) -> bool

fn create(&self, instance: PP_Instance, format: PP_ImageDataFormat, size: PP_Size, init_to_zero: bool) -> Option<PP_Resource>

fn describe(&self, img: PP_Resource) -> Option<Struct_PP_ImageDataDesc>

fn map(&self, img: &PP_Resource) -> *mut c_void

fn unmap(&self, img: &PP_Resource)

Derived Implementations

impl Copy for Struct_PPB_ImageData_1_0