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

pub struct Struct_PPB_FileIO_1_0 {
    pub Create: Option< extern "C" fn(instance: PP_Instance) -> PP_Resource>,
    pub IsFileIO: Option< extern "C" fn(resource: PP_Resource) -> PP_Bool>,
    pub Open: Option< extern "C" fn(file_io: PP_Resource, file_ref: PP_Resource, open_flags: int32_t, callback: Struct_PP_CompletionCallback) -> int32_t>,
    pub Query: Option< extern "C" fn(file_io: PP_Resource, info: *mut Struct_PP_FileInfo, callback: Struct_PP_CompletionCallback) -> int32_t>,
    pub Touch: Option< extern "C" fn(file_io: PP_Resource, last_access_time: PP_Time, last_modified_time: PP_Time, callback: Struct_PP_CompletionCallback) -> int32_t>,
    pub Read: Option< extern "C" fn(file_io: PP_Resource, offset: int64_t, buffer: *mut c_char, bytes_to_read: int32_t, callback: Struct_PP_CompletionCallback) -> int32_t>,
    pub Write: Option< extern "C" fn(file_io: PP_Resource, offset: int64_t, buffer: *const c_char, bytes_to_write: int32_t, callback: Struct_PP_CompletionCallback) -> int32_t>,
    pub SetLength: Option< extern "C" fn(file_io: PP_Resource, length: int64_t, callback: Struct_PP_CompletionCallback) -> int32_t>,
    pub Flush: Option< extern "C" fn(file_io: PP_Resource, callback: Struct_PP_CompletionCallback) -> int32_t>,
    pub Close: Option< extern "C" fn(file_io: PP_Resource)>,
}

Fields

Create
IsFileIO
Open
Query
Touch
Read
Write
SetLength
Flush
Close

Trait Implementations

impl Default for Struct_PPB_FileIO_1_0

fn default() -> Struct_PPB_FileIO_1_0

Derived Implementations

impl Copy for Struct_PPB_FileIO_1_0