pub struct Struct_PPB_FileIO_1_1 {
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)>,
pub ReadToArray: Option< extern "C" fn(file_io: PP_Resource, offset: int64_t, max_read_length: int32_t, output: *mut Struct_PP_ArrayOutput, callback: Struct_PP_CompletionCallback) -> int32_t>,
}
Fields
Create | |
IsFileIO | |
Open | |
Query | |
Touch | |
Read | |
Write | |
SetLength | |
Flush | |
Close | |
ReadToArray | |
Trait Implementations
Derived Implementations
Keyboard shortcuts
- ?
- Show this help dialog
- S
- Focus the search field
- ⇤
- Move up in search results
- ⇥
- Move down in search results
- ⏎
- Go to active search result
Search tricks
Prefix searches with a type followed by a colon (e.g.
fn:
) to restrict the search to a given type.
Accepted types are: fn
, mod
,
struct
, enum
,
trait
, typedef
(or
tdef
).