pub struct Struct_PPB_FileRef_1_2 {
pub Create: Option< extern "C" fn(file_system: PP_Resource, path: *const c_char) -> PP_Resource>,
pub IsFileRef: Option< extern "C" fn(resource: PP_Resource) -> PP_Bool>,
pub GetFileSystemType: Option< extern "C" fn(file_ref: PP_Resource) -> PP_FileSystemType>,
pub GetName: Option< extern "C" fn(file_ref: PP_Resource) -> Struct_PP_Var>,
pub GetPath: Option< extern "C" fn(file_ref: PP_Resource) -> Struct_PP_Var>,
pub GetParent: Option< extern "C" fn(file_ref: PP_Resource) -> PP_Resource>,
pub MakeDirectory: Option< extern "C" fn(directory_ref: PP_Resource, make_directory_flags: int32_t, callback: Struct_PP_CompletionCallback) -> int32_t>,
pub Touch: Option< extern "C" fn(file_ref: PP_Resource, last_access_time: PP_Time, last_modified_time: PP_Time, callback: Struct_PP_CompletionCallback) -> int32_t>,
pub Delete: Option< extern "C" fn(file_ref: PP_Resource, callback: Struct_PP_CompletionCallback) -> int32_t>,
pub Rename: Option< extern "C" fn(file_ref: PP_Resource, new_file_ref: PP_Resource, callback: Struct_PP_CompletionCallback) -> int32_t>,
pub Query: Option< extern "C" fn(file_ref: PP_Resource, info: *mut Struct_PP_FileInfo, callback: Struct_PP_CompletionCallback) -> int32_t>,
pub ReadDirectoryEntries: Option< extern "C" fn(file_ref: PP_Resource, output: Struct_PP_ArrayOutput, callback: Struct_PP_CompletionCallback) -> int32_t>,
}
Fields
Create | |
IsFileRef | |
GetFileSystemType | |
GetName | |
GetPath | |
GetParent | |
MakeDirectory | |
Touch | |
Delete | |
Rename | |
Query | |
ReadDirectoryEntries | |
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
).